Last active
July 1, 2025 04:10
-
-
Save Digital39999/ffe7df2bfc08797c2ba19d42e8f739a0 to your computer and use it in GitHub Desktop.
Keep in mind that some of those might also be partial.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type PusherEvents = { | |
| // 'channel.id'; | |
| channel: { | |
| FollowersUpdated: { | |
| followersCount: string | number | |
| channel_id: number | |
| username: unknown | |
| created_at: number | |
| followed: boolean | |
| } | |
| StreamerIsLive: { | |
| livestream: { | |
| id: number | |
| channel_id: number | |
| session_title: string | |
| source: unknown | |
| created_at: string | |
| } | |
| } | |
| ChannelSubscriptionEvent: { | |
| user_ids: number[] | |
| username: string | |
| channel_id: number | |
| } | |
| LuckyUsersWhoGotGiftSubscriptionsEvent: { | |
| channel: { | |
| id: number | |
| user_id: number | |
| slug: string | |
| is_banned: boolean | |
| playback_url: string | |
| name_updated_at?: string | |
| vod_enabled: boolean | |
| subscription_enabled: boolean | |
| can_host: boolean | |
| chatroom: { | |
| id: number | |
| chatable_type: string | |
| channel_id: number | |
| created_at: string | |
| updated_at: string | |
| chat_mode_old: string | |
| chat_mode: string | |
| slow_mode: boolean | |
| chatable_id: number | |
| followers_mode: boolean | |
| subscribers_mode: boolean | |
| emotes_mode: boolean | |
| message_interval: number | |
| following_min_duration: number | |
| } | |
| } | |
| usernames: string[] | |
| gifter_username: string | |
| } | |
| GiftsLeaderboardUpdated: { | |
| channel: { | |
| id: number | |
| user_id: number | |
| slug: string | |
| is_banned: boolean | |
| playback_url: string | |
| name_updated_at?: string | |
| vod_enabled: boolean | |
| subscription_enabled: boolean | |
| can_host: boolean | |
| chatroom: { | |
| id: number | |
| chatable_type: string | |
| channel_id: number | |
| created_at: string | |
| updated_at: string | |
| chat_mode_old: string | |
| chat_mode: string | |
| slow_mode: boolean | |
| chatable_id: number | |
| followers_mode: boolean | |
| subscribers_mode: boolean | |
| emotes_mode: boolean | |
| message_interval: number | |
| following_min_duration: number | |
| } | |
| } | |
| leaderboard: { | |
| user_id: number | |
| username: string | |
| quantity: number | |
| }[] | |
| weekly_leaderboard: { | |
| user_id: number | |
| username: string | |
| quantity: number | |
| }[] | |
| monthly_leaderboard: { | |
| user_id: number | |
| username: string | |
| quantity: number | |
| }[] | |
| gifter_id: number | |
| gifted_quantity: number | |
| } | |
| ChatMoveToSupportedChannelEvent: { | |
| channel: { | |
| id: number | |
| user_id: number | |
| slug: string | |
| is_banned: boolean | |
| playback_url: string | |
| name_updated_at?: string | |
| vod_enabled: boolean | |
| subscription_enabled: boolean | |
| can_host: boolean | |
| current_livestream: { | |
| id: number | |
| slug: string | |
| channel_id: number | |
| created_at: string | |
| session_title: string | |
| is_live: boolean | |
| risk_level_id: unknown | |
| start_time: string | |
| source: unknown | |
| twitch_channel: unknown | |
| duration: number | |
| language: string | |
| is_mature: boolean | |
| viewer_count: number | |
| } | |
| } | |
| slug: string | |
| hosted: { | |
| id: number | |
| username: string | |
| slug: string | |
| viewers_count: number | |
| is_live: boolean | |
| profile_pic?: string | |
| category: string | |
| preview_thumbnail: { | |
| srcset: string | |
| src: string | |
| } | |
| } | |
| } | |
| StopStreamBroadcast: { | |
| livestream: { | |
| id: number | |
| channel: { | |
| id: number | |
| is_banned: boolean | |
| } | |
| } | |
| } | |
| } | |
| // 'chatrooms.id.v2'; | |
| chatrooms: { | |
| ChatMessageEvent: { | |
| id: string | |
| chatroom_id: number | |
| content: string | |
| type: string | |
| created_at: string | |
| sender: { | |
| id: number | |
| username: string | |
| slug: string | |
| identity: { | |
| color: string | |
| badges: { | |
| type: string | |
| text: string | |
| count?: number | |
| }[] | |
| } | |
| } | |
| metadata?: { | |
| original_sender: { | |
| id: string | |
| username: string | |
| } | |
| original_message: { | |
| id: string | |
| content: string | |
| } | |
| } | |
| } | |
| StreamHostEvent: { | |
| chatroom_id: number | |
| optional_message: string | |
| number_viewers: number | |
| host_username: string | |
| } | |
| UserBannedEvent: { | |
| id: string | |
| user: { | |
| id: number | |
| username: string | |
| slug: string | |
| } | |
| banned_by: { | |
| id: number | |
| username: string | |
| slug: string | |
| } | |
| expires_at?: string | |
| } | |
| MessageDeletedEvent: { | |
| id: string | |
| message: { | |
| id: string | |
| } | |
| } | |
| PinnedMessageCreatedEvent: { | |
| message: { | |
| chatroom_id: string | |
| content: string | |
| created_at: string | |
| id: string | |
| sender: { | |
| id: string | |
| username: string | |
| slug: string | |
| identity: { | |
| color: string | |
| badges: { | |
| type: string | |
| text: string | |
| count?: string | |
| }[] | |
| } | |
| } | |
| type: string | |
| } | |
| duration: string | |
| } | |
| UserUnbannedEvent: { | |
| id: string | |
| user: { | |
| id: number | |
| username: string | |
| slug: string | |
| } | |
| unbanned_by: { | |
| id: number | |
| username: string | |
| slug: string | |
| } | |
| } | |
| GiftedSubscriptionsEvent: { | |
| chatroom_id: number | |
| gifted_usernames: Array<string> | |
| gifter_username: string | |
| } | |
| PollUpdateEvent: { | |
| poll: { | |
| title: string | |
| options: { | |
| id: number | |
| label: string | |
| votes: number | |
| }[] | |
| duration: number | |
| remaining: number | |
| result_display_duration: number | |
| } | |
| } | |
| SubscriptionEvent: { | |
| chatroom_id: number | |
| username: string | |
| months: number | |
| } | |
| ChatroomUpdatedEvent: { | |
| id: number | |
| slow_mode: { | |
| enabled: boolean | |
| message_interval: number | |
| } | |
| subscribers_mode: { | |
| enabled: boolean | |
| } | |
| followers_mode: { | |
| enabled: boolean | |
| min_duration: number | |
| } | |
| emotes_mode: { | |
| enabled: boolean | |
| } | |
| advanced_bot_protection: { | |
| enabled: boolean | |
| remaining_time: number | |
| } | |
| } | |
| ChatroomClearEvent: { | |
| id: string | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment