Skip to content

Commit

Permalink
Add eventsub events payload for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chillymosh committed Jan 28, 2025
1 parent da51216 commit 27623a7
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
124 changes: 62 additions & 62 deletions twitchio/events.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,103 +24,103 @@ async def event_ready() -> None:
# AutoMod
async def event_automod_message_hold(payload: twitchio.AutomodMessageHold) -> None: ...
async def event_automod_message_update(payload: twitchio.AutomodMessageUpdate) -> None: ...
async def event_automod_settings_update() -> None: ...
async def event_automod_terms_update() -> None: ...
async def event_automod_settings_update(payload: twitchio.AutomodSettingsUpdate) -> None: ...
async def event_automod_terms_update(payload: twitchio.AutomodTermsUpdate) -> None: ...

# Channel/Broadcaster
async def event_channel_update() -> None: ...
async def event_follow() -> None: ...
async def event_ad_break() -> None: ...
async def event_chat_clear() -> None: ...
async def event_chat_clear_user() -> None: ...
async def event_cheer() -> None: ...
async def event_raid() -> None: ...
async def event_channel_update(payload: twitchio.ChannelUpdate) -> None: ...
async def event_follow(payload: twitchio.ChannelFollow) -> None: ...
async def event_ad_break(payload: twitchio.ChannelAdBreakBegin) -> None: ...
async def event_chat_clear(payload: twitchio.ChannelChatClear) -> None: ...
async def event_chat_clear_user(payload: twitchio.ChannelChatClearUserMessages) -> None: ...
async def event_cheer(payload: twitchio.ChannelCheer) -> None: ...
async def event_raid(payload: twitchio.ChannelRaid) -> None: ...

# Messages/Chat
async def event_message() -> None: ...
async def event_message_whisper() -> None: ...
async def event_message_delete() -> None: ...
async def event_chat_notification() -> None: ...
async def event_chat_settings_update() -> None: ...
async def event_chat_user_message_hold() -> None: ...
async def event_chat_user_message_update() -> None: ...
async def event_message(payload: twitchio.ChatMessage) -> None: ...
async def event_message_whisper(payload: twitchio.Whisper) -> None: ...
async def event_message_delete(payload: twitchio.ChatMessageDelete) -> None: ...
async def event_chat_notification(payload: twitchio.ChatNotification) -> None: ...
async def event_chat_settings_update(payload: twitchio.ChatSettingsUpdate) -> None: ...
async def event_chat_user_message_hold(payload: twitchio.ChatUserMessageHold) -> None: ...
async def event_chat_user_message_update(payload: twitchio.ChatUserMessageUpdate) -> None: ...

# Shared Chat
async def event_shared_chat_begin() -> None: ...
async def event_shared_chat_update() -> None: ...
async def event_shared_chat_end() -> None: ...
async def event_shared_chat_begin(payload: twitchio.SharedChatSessionBegin) -> None: ...
async def event_shared_chat_update(payload: twitchio.SharedChatSessionUpdate) -> None: ...
async def event_shared_chat_end(payload: twitchio.SharedChatSessionEnd) -> None: ...

# Subscriptions
async def event_subscription() -> None: ...
async def event_subscription_end() -> None: ...
async def event_subscription_gift() -> None: ...
async def event_subscription_message() -> None: ...
async def event_subscription(payload: twitchio.ChannelSubscribe) -> None: ...
async def event_subscription_end(payload: twitchio.ChannelSubscriptionEnd) -> None: ...
async def event_subscription_gift(payload: twitchio.ChannelSubscriptionGift) -> None: ...
async def event_subscription_message(payload: twitchio.ChannelSubscriptionMessage) -> None: ...

# Bans
async def event_ban() -> None: ...
async def event_unban() -> None: ...
async def event_unban_request() -> None: ...
async def event_unban_request_resolve() -> None: ...
async def event_ban(payload: twitchio.ChannelBan) -> None: ...
async def event_unban(payload: twitchio.ChannelUnban) -> None: ...
async def event_unban_request(payload: twitchio.ChannelUnbanRequest) -> None: ...
async def event_unban_request_resolve(payload: twitchio.ChannelUnbanRequestResolve) -> None: ...

# Warnings
async def event_warning_acknowledge() -> None: ...
async def event_warning_send() -> None: ...
async def event_warning_acknowledge(payload: twitchio.ChannelWarningAcknowledge) -> None: ...
async def event_warning_send(payload: twitchio.ChannelWarningSend) -> None: ...

# Moderation and VIPs
async def event_mod_action() -> None: ...
async def event_moderator_add() -> None: ...
async def event_moderator_remove() -> None: ...
async def event_vip_add() -> None: ...
async def event_vip_remove() -> None: ...
async def event_mod_action(payload: twitchio.ChannelModerate) -> None: ...
async def event_moderator_add(payload: twitchio.ChannelModeratorAdd) -> None: ...
async def event_moderator_remove(payload: twitchio.ChannelModeratorRemove) -> None: ...
async def event_vip_add(payload: twitchio.ChannelVIPAdd) -> None: ...
async def event_vip_remove(payload: twitchio.ChannelVIPRemove) -> None: ...

# Redemptions and Rewards
async def event_automatic_redemption_add() -> None: ...
async def event_custom_reward_add() -> None: ...
async def event_custom_reward_update() -> None: ...
async def event_custom_reward_remove() -> None: ...
async def event_custom_redemption_add() -> None: ...
async def event_custom_redemption_update() -> None: ...
async def event_automatic_redemption_add(payload: twitchio.ChannelPointsAutoRedeemAdd) -> None: ...
async def event_custom_reward_add(payload: twitchio.ChannelPointsRewardAdd) -> None: ...
async def event_custom_reward_update(payload: twitchio.ChannelPointsRewardUpdate) -> None: ...
async def event_custom_reward_remove(payload: twitchio.ChannelPointsRewardRemove) -> None: ...
async def event_custom_redemption_add(payload: twitchio.ChannelPointsRedemptionAdd) -> None: ...
async def event_custom_redemption_update(payload: twitchio.ChannelPointsRedemptionUpdate) -> None: ...

# Polls
async def event_poll_begin() -> None: ...
async def event_poll_progress() -> None: ...
async def event_poll_end() -> None: ...
async def event_poll_begin(payload: twitchio.ChannelPollBegin) -> None: ...
async def event_poll_progress(payload: twitchio.ChannelPollProgress) -> None: ...
async def event_poll_end(payload: twitchio.ChannelPollEnd) -> None: ...

# Suspicious Users
async def event_suspicious_user_message() -> None: ...
async def event_suspicious_user_update() -> None: ...
async def event_suspicious_user_message(payload: twitchio.SuspiciousUserMessage) -> None: ...
async def event_suspicious_user_update(payload: twitchio.SuspiciousUserUpdate) -> None: ...

# Charity Campaigns
async def event_charity_campaign_donate() -> None: ...
async def event_charity_campaign_start() -> None: ...
async def event_charity_campaign_progress() -> None: ...
async def event_charity_campaign_stop() -> None: ...
async def event_charity_campaign_donate(payload: twitchio.CharityCampaignDonation) -> None: ...
async def event_charity_campaign_start(payload: twitchio.CharityCampaignStart) -> None: ...
async def event_charity_campaign_progress(payload: twitchio.CharityCampaignProgress) -> None: ...
async def event_charity_campaign_stop(payload: twitchio.CharityCampaignStop) -> None: ...

# Goals
async def event_goal_begin() -> None: ...
async def event_goal_peogress() -> None: ...
async def event_goal_end() -> None: ...
async def event_goal_begin(payload: twitchio.GoalBegin) -> None: ...
async def event_goal_peogress(payload: twitchio.GoalProgress) -> None: ...
async def event_goal_end(payload: twitchio.GoalEnd) -> None: ...

# Hype Train
async def event_hype_train() -> None: ...
async def event_hype_train_progress() -> None: ...
async def event_hype_train_end() -> None: ...
async def event_hype_train(payload: twitchio.HypeTrainBegin) -> None: ...
async def event_hype_train_progress(payload: twitchio.HypeTrainProgress) -> None: ...
async def event_hype_train_end(payload: twitchio.HypeTrainEnd) -> None: ...

# Shield Mode
async def event_shield_mode_begin() -> None: ...
async def event_shield_mode_end() -> None: ...
async def event_shield_mode_begin(payload: twitchio.ShieldModeBegin) -> None: ...
async def event_shield_mode_end(payload: twitchio.ShieldModeEnd) -> None: ...

# Shoutouts
async def event_shoutout_create() -> None: ...
async def event_shoutout_receive() -> None: ...
async def event_shoutout_create(payload: twitchio.ShoutoutCreate) -> None: ...
async def event_shoutout_receive(payload: twitchio.ShoutoutReceive) -> None: ...

# Streams
async def event_stream_online(payload: twitchio.StreamOnline) -> None: ...
async def event_stream_offline(payload: twitchio.StreamOffline) -> None: ...

# OAuth
async def event_user_authorization_grant() -> None: ...
async def event_user_authorization_revoke() -> None: ...
async def event_user_authorization_grant(payload: twitchio.UserAuthorizationGrant) -> None: ...
async def event_user_authorization_revoke(payload: twitchio.UserAuthorizationRevoke) -> None: ...

# Users
async def event_user_update() -> None: ...
async def event_user_update(payload: twitchio.UserUpdate) -> None: ...
2 changes: 1 addition & 1 deletion twitchio/models/eventsub_.py
Original file line number Diff line number Diff line change
Expand Up @@ -4069,7 +4069,7 @@ def __repr__(self) -> str:

class CharityCampaignDonation(BaseEvent):
"""
Represents a charity campaign start event.
Represents a charity campaign donation event.
Attributes
----------
Expand Down

0 comments on commit 27623a7

Please sign in to comment.