Coupons
Updated: 2025-07-03 14:46:06
This module is primarily used to receive and process coupon functionalities within the live room, including obtaining a list of available coupons, claiming coupons, and viewing claimed coupons.
1. API Method Overview
| API Method | Description |
|---|---|
| getCouponCommonList | Get the list of available coupons |
| receiveCoupon | Claim a coupon |
| getCouponUserList | Get the list of claimed coupons |
2. Event Overview
| Event | Description |
|---|---|
| CouponEvent.RefreshCouponList | Refresh the list of available coupons |
| CouponEvent.AddCouponItem | Add a coupon |
| CouponEvent.DeleteCouponItem | Delete a coupon |
| CouponEvent.UpdateCouponItem | Update coupon information |
| CouponEvent.SwitchCoupon | Toggle coupon switch |
