@@ -3253,6 +3253,7 @@ class AutoRedeemReward:
3253
3253
Attributes
3254
3254
----------
3255
3255
type: typing.Literal["single_message_bypass_sub_mode", "send_highlighted_message", "random_sub_emote_unlock", "chosen_sub_emote_unlock", "chosen_modified_sub_emote_unlock", "message_effect", "gigantify_an_emote", "celebration"]
3256
+ The type of the reward. V2 does not cover Power-ups e.g. `gigantify_an_emote`, `celebration`, and `message_effect`.
3256
3257
channel_points: int
3257
3258
Number of channel points used. This is also covers `cost` when using V1.
3258
3259
emote: UnlockedEmote | None
@@ -3284,6 +3285,9 @@ class ChannelPointsAutoRedeemAdd(BaseEvent):
3284
3285
"""
3285
3286
Represents an automatic redemption of a channel points reward.
3286
3287
3288
+ .. note::
3289
+ This is a combination of V1 and V2.
3290
+
3287
3291
Attributes
3288
3292
----------
3289
3293
broadcaster: PartialUser
@@ -3298,10 +3302,15 @@ class ChannelPointsAutoRedeemAdd(BaseEvent):
3298
3302
The datetime object of when the reward was redeemed.
3299
3303
reward: AutoRedeemReward
3300
3304
The details of the reward auto redeemed.
3305
+
3306
+ V2 does not cover Power-ups e.g. `gigantify_an_emote`, `celebration`, and `message_effect`.
3307
+ Please see ChannelBitsUseSubscription for those specific types if using V2.
3301
3308
emotes: list[ChannelPointsEmote]
3302
3309
A list of ChannelPointsEmote objects that appear in the text.
3303
- If using V1, this is populated by Twitch.
3304
- If using V2, the emotes can be found in the fragments, but we calculate the index ourselves for this property.
3310
+
3311
+ - If using V1, this is populated by Twitch.
3312
+ - If using V2, the emotes can be found in the fragments, but we calculate the index ourselves for this property.
3313
+
3305
3314
user_input: str | None
3306
3315
The text input by the user if the reward requires input. This is `None` when using V2. `text` is the preferred attribute to use.
3307
3316
fragments: list[ChatMessageFragment]
0 commit comments