TikTokLive.events package

Submodules

TikTokLive.events.base_event module

class TikTokLive.events.base_event.BaseEvent

Bases: object

Base event emitted from the TikTokLiveClient

classmethod get_type() str

String representation of the class type

Returns:

Class name

property type: str

String representation of the class type

Returns:

Class name

TikTokLive.events.custom_events module

class TikTokLive.events.custom_events.ConnectEvent(unique_id: str, room_id: int)

Bases: BaseEvent

Manually thrown whenever a connection is started

room_id: int
unique_id: str
class TikTokLive.events.custom_events.DisconnectEvent

Bases: BaseEvent

Thrown when disconnecting from a stream

class TikTokLive.events.custom_events.FollowEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, share_type: int = <object object>, action: int = <object object>, share_target: str = <object object>, follow_count: int = <object object>, share_display_style: int = <object object>, share_count: int = <object object>)

Bases: SocialEvent

A SocialEvent, but we give it its own class for clarity’s sake.

class TikTokLive.events.custom_events.LiveEndEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, action: ~TikTokLive.proto.tiktok_proto.ControlAction = <object object>, tips: str = <object object>, extra: ~TikTokLive.proto.tiktok_proto.WebcastControlMessageExtra = <object object>, perception_audience_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, punish_info: ~TikTokLive.proto.tiktok_proto.PunishEventInfo = <object object>, float_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, float_style: int = <object object>)

Bases: ControlEvent

Thrown when the stream ends

class TikTokLive.events.custom_events.LivePauseEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, action: ~TikTokLive.proto.tiktok_proto.ControlAction = <object object>, tips: str = <object object>, extra: ~TikTokLive.proto.tiktok_proto.WebcastControlMessageExtra = <object object>, perception_audience_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, punish_info: ~TikTokLive.proto.tiktok_proto.PunishEventInfo = <object object>, float_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, float_style: int = <object object>)

Bases: ControlEvent

Thrown when the stream is paused

class TikTokLive.events.custom_events.LiveUnpauseEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, action: ~TikTokLive.proto.tiktok_proto.ControlAction = <object object>, tips: str = <object object>, extra: ~TikTokLive.proto.tiktok_proto.WebcastControlMessageExtra = <object object>, perception_audience_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, punish_info: ~TikTokLive.proto.tiktok_proto.PunishEventInfo = <object object>, float_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, float_style: int = <object object>)

Bases: ControlEvent

Thrown when a paused stream is unpaused

class TikTokLive.events.custom_events.ShareEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, share_type: int = <object object>, action: int = <object object>, share_target: str = <object object>, follow_count: int = <object object>, share_display_style: int = <object object>, share_count: int = <object object>)

Bases: SocialEvent

A SocialEvent, but we give it its own class for clarity’s sake.

property users_joined: int | None

The number of people that have joined the stream from the share

Returns:

The number of people that have joined

class TikTokLive.events.custom_events.UnknownEvent(method: str = <object object>, payload: bytes = <object object>, msg_id: int = <object object>, msg_type: int = <object object>, offset: int = <object object>, is_history: bool = <object object>)

Bases: WebsocketResponseEvent

Triggered when a Webcast message is received that is NOT tracked by TikTokLive yet.

property bytes: bytes
class TikTokLive.events.custom_events.WebsocketResponseEvent(method: str = <object object>, payload: bytes = <object object>, msg_id: int = <object object>, msg_type: int = <object object>, offset: int = <object object>, is_history: bool = <object object>)

Bases: WebcastResponseMessage, BaseEvent

Triggered when any event is received from the WebSocket

TikTokLive.events.proto_events module

class TikTokLive.events.proto_events.BarrageEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, event: ~TikTokLive.proto.tiktok_proto.WebcastBarrageMessageBarrageEvent = <object object>, msg_type: ~TikTokLive.proto.tiktok_proto.WebcastBarrageMessageBarrageType = <object object>, icon: ~TikTokLive.proto.tiktok_proto.Image = <object object>, content: ~TikTokLive.proto.tiktok_proto.Text = <object object>, duration: int = <object object>, background: ~TikTokLive.proto.tiktok_proto.Image = <object object>, right_icon: ~TikTokLive.proto.tiktok_proto.Image = <object object>, user_grade_param: ~TikTokLive.proto.tiktok_proto.WebcastBarrageMessageBarrageTypeUserGradeParam = <object object>, fans_level_param: ~TikTokLive.proto.tiktok_proto.WebcastBarrageMessageBarrageTypeFansLevelParam = <object object>, subscribe_gift_param: ~TikTokLive.proto.tiktok_proto.WebcastBarrageMessageBarrageTypeSubscribeGiftParam = <object object>)

Bases: BaseEvent, WebcastBarrageMessage

class TikTokLive.events.proto_events.CaptionEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, time_stamp: int = <object object>, caption_data: ~TikTokLive.proto.tiktok_proto.WebcastCaptionMessageCaptionData = <object object>)

Bases: BaseEvent, WebcastCaptionMessage

class TikTokLive.events.proto_events.CommentEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, content: str = <object object>, visible_to_sender: bool = <object object>, background_image: ~TikTokLive.proto.tiktok_proto.Image = <object object>, full_screen_text_color: str = <object object>, background_image_v2: ~TikTokLive.proto.tiktok_proto.Image = <object object>, gift_image: ~TikTokLive.proto.tiktok_proto.Image = <object object>, input_type: int = <object object>, at_user: ~TikTokLive.proto.tiktok_proto.User = <object object>, emotes_list: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastChatMessageEmoteWithIndex] = <object object>, content_language: str = <object object>, quick_chat_scene: int = <object object>, community_flagged_status: int = <object object>, user_identity: ~TikTokLive.proto.tiktok_proto.UserIdentity = <object object>, comment_quality_scores: ~typing.Dict[str, str] = <object object>)

Bases: BaseEvent, WebcastChatMessage

property comment: str

The user comment content

Returns:

Comment string

class TikTokLive.events.proto_events.ControlEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, action: ~TikTokLive.proto.tiktok_proto.ControlAction = <object object>, tips: str = <object object>, extra: ~TikTokLive.proto.tiktok_proto.WebcastControlMessageExtra = <object object>, perception_audience_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, punish_info: ~TikTokLive.proto.tiktok_proto.PunishEventInfo = <object object>, float_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, float_style: int = <object object>)

Bases: BaseEvent, WebcastControlMessage

class TikTokLive.events.proto_events.EmoteChatEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, emote_list: ~typing.List[~TikTokLive.proto.tiktok_proto.Emote] = <object object>, msg_filter: ~TikTokLive.proto.tiktok_proto.MsgFilter = <object object>, user_identity: ~TikTokLive.proto.tiktok_proto.UserIdentity = <object object>)

Bases: BaseEvent, WebcastEmoteChatMessage

class TikTokLive.events.proto_events.EnvelopeEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, envelope_info: ~TikTokLive.proto.tiktok_proto.WebcastEnvelopeMessageEnvelopeInfo = <object object>, display: ~TikTokLive.proto.tiktok_proto.EnvelopeDisplay = <object object>)

Bases: BaseEvent, WebcastEnvelopeMessage

class TikTokLive.events.proto_events.GiftEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, gift_id: int = <object object>, fan_ticket_count: int = <object object>, group_count: int = <object object>, repeat_count: int = <object object>, combo_count: int = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, to_user: ~TikTokLive.proto.tiktok_proto.User = <object object>, repeat_end: int = <object object>, group_id: int = <object object>, income_taskgifts: int = <object object>, room_fan_ticket_count: int = <object object>, gift: ~TikTokLive.proto.tiktok_proto.GiftStruct = <object object>, log_id: str = <object object>, send_type: int = <object object>, monitor_extra: str = <object object>, color_id: int = <object object>, is_first_sent: bool = <object object>, order_id: str = <object object>, user_identity: ~TikTokLive.proto.tiktok_proto.UserIdentity = <object object>, user_gift_reciever: ~TikTokLive.proto.tiktok_proto.WebcastGiftMessageUserGiftReciever = <object object>)

Bases: BaseEvent, WebcastGiftMessage

property streaking: bool

Read the repeat_end to tell a user whether the gift is part of an ongoing streak

Returns:

Whether the user is currently engaged in a streak

property value: float | None

Get the USD value of a GiftEvent. If the gift is streakable, this will return None until the streak is over

Returns:

The value of the gift

class TikTokLive.events.proto_events.GoalUpdateEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, indicator: ~TikTokLive.proto.tiktok_proto.Indicator = <object object>, goal: ~TikTokLive.proto.tiktok_proto.Goal = <object object>, contributor_id: int = <object object>, contributor_avatar: ~TikTokLive.proto.tiktok_proto.Image = <object object>, contributor_display_id: str = <object object>, contribute_count: int = <object object>, contribute_score: int = <object object>, gift_repeat_count: int = <object object>, contributor_id_str: str = <object object>, pin: bool = <object object>, unpin: bool = <object object>)

Bases: BaseEvent, WebcastGoalUpdateMessage

class TikTokLive.events.proto_events.HourlyRankEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, data: ~TikTokLive.proto.tiktok_proto.WebcastHourlyRankMessageRankContainer = <object object>, data2: int = <object object>)

Bases: BaseEvent, WebcastHourlyRankMessage

class TikTokLive.events.proto_events.ImDeleteEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, delete_msg_ids_list: ~typing.List[int] = <object object>, delete_user_ids_list: ~typing.List[int] = <object object>)

Bases: BaseEvent, WebcastImDeleteMessage

class TikTokLive.events.proto_events.JoinEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, member_count: int = <object object>, operator: ~TikTokLive.proto.tiktok_proto.User = <object object>, is_set_to_admin: bool = <object object>, is_top_user: bool = <object object>, rank_score: int = <object object>, top_user_no: int = <object object>, enter_type: int = <object object>, action: ~TikTokLive.proto.tiktok_proto.MemberMessageAction = <object object>, action_description: str = <object object>, user_id: int = <object object>, effect_config: ~TikTokLive.proto.tiktok_proto.WebcastMemberMessageEffectConfig = <object object>, pop_str: str = <object object>, enter_effect_config: ~TikTokLive.proto.tiktok_proto.WebcastMemberMessageEffectConfig = <object object>, background_image: ~TikTokLive.proto.tiktok_proto.Image = <object object>, background_image_v2: ~TikTokLive.proto.tiktok_proto.Image = <object object>, anchor_display_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>, client_enter_source: str = <object object>, client_enter_type: str = <object object>, client_live_reason: str = <object object>, action_duration: int = <object object>, user_share_type: str = <object object>)

Bases: BaseEvent, WebcastMemberMessage

class TikTokLive.events.proto_events.LikeEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, count: int = <object object>, total: int = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>)

Bases: BaseEvent, WebcastLikeMessage

class TikTokLive.events.proto_events.LinkEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, message_type: ~TikTokLive.proto.tiktok_proto.LinkMessageType = <object object>, linker_id: int = <object object>, scene: ~TikTokLive.proto.tiktok_proto.Scene = <object object>, invite_content: ~TikTokLive.proto.tiktok_proto.LinkerInviteContent = <object object>, reply_content: ~TikTokLive.proto.tiktok_proto.LinkerReplyContent = <object object>, create_content: ~TikTokLive.proto.tiktok_proto.LinkerCreateContent = <object object>, close_content: ~TikTokLive.proto.tiktok_proto.LinkerCloseContent = <object object>, enter_content: ~TikTokLive.proto.tiktok_proto.LinkerEnterContent = <object object>, leave_content: ~TikTokLive.proto.tiktok_proto.LinkerLeaveContent = <object object>, cancel_content: ~TikTokLive.proto.tiktok_proto.LinkerCancelContent = <object object>, kick_out_content: ~TikTokLive.proto.tiktok_proto.LinkerKickOutContent = <object object>, linked_list_change_content: ~TikTokLive.proto.tiktok_proto.LinkerLinkedListChangeContent = <object object>, update_user_content: ~TikTokLive.proto.tiktok_proto.LinkerUpdateUserContent = <object object>, waiting_list_change_content: ~TikTokLive.proto.tiktok_proto.LinkerWaitingListChangeContent = <object object>, mute_content: ~TikTokLive.proto.tiktok_proto.LinkerMuteContent = <object object>, random_match_content: ~TikTokLive.proto.tiktok_proto.LinkerRandomMatchContent = <object object>, update_user_setting_content: ~TikTokLive.proto.tiktok_proto.LinkerUpdateUserSettingContent = <object object>, mic_idx_update_content: ~TikTokLive.proto.tiktok_proto.LinkerMicIdxUpdateContent = <object object>, list_change_content: ~TikTokLive.proto.tiktok_proto.LinkerListChangeContent = <object object>, cohost_list_change_content: ~TikTokLive.proto.tiktok_proto.CohostListChangeContent = <object object>, media_change_content: ~TikTokLive.proto.tiktok_proto.LinkerMediaChangeContent = <object object>, accept_notice_content: ~TikTokLive.proto.tiktok_proto.LinkerAcceptNoticeContent = <object object>, sys_kick_out_content: ~TikTokLive.proto.tiktok_proto.LinkerSysKickOutContent = <object object>, user_toast_content: ~TikTokLive.proto.tiktok_proto.LinkmicUserToastContent = <object object>, extra: str = <object object>, expire_timestamp: int = <object object>, transfer_extra: str = <object object>)

Bases: BaseEvent, WebcastLinkMessage

class TikTokLive.events.proto_events.LinkLayerEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, message_type: ~TikTokLive.proto.tiktok_proto.MessageType = <object object>, channel_id: int = <object object>, scene: ~TikTokLive.proto.tiktok_proto.Scene = <object object>, create_channel_content: ~TikTokLive.proto.tiktok_proto.CreateChannelContent = <object object>, list_change_content: ~TikTokLive.proto.tiktok_proto.ListChangeContent = <object object>, invite_content: ~TikTokLive.proto.tiktok_proto.InviteContent = <object object>, apply_content: ~TikTokLive.proto.tiktok_proto.ApplyContent = <object object>, permit_apply_content: ~TikTokLive.proto.tiktok_proto.PermitApplyContent = <object object>, reply_invite_content: ~TikTokLive.proto.tiktok_proto.ReplyInviteContent = <object object>, kick_out_content: ~TikTokLive.proto.tiktok_proto.KickOutContent = <object object>, cancel_apply_content: ~TikTokLive.proto.tiktok_proto.CancelApplyContent = <object object>, cancel_invite_content: ~TikTokLive.proto.tiktok_proto.CancelInviteContent = <object object>, leave_content: ~TikTokLive.proto.tiktok_proto.LeaveContent = <object object>, finish_content: ~TikTokLive.proto.tiktok_proto.FinishChannelContent = <object object>, join_direct_content: ~TikTokLive.proto.tiktok_proto.JoinDirectContent = <object object>, join_group_content: ~TikTokLive.proto.tiktok_proto.JoinGroupContent = <object object>, permit_group_content: ~TikTokLive.proto.tiktok_proto.PermitJoinGroupContent = <object object>, cancel_group_content: ~TikTokLive.proto.tiktok_proto.CancelJoinGroupContent = <object object>, leave_group_content: ~TikTokLive.proto.tiktok_proto.LeaveJoinGroupContent = <object object>, p2_p_group_change_content: ~TikTokLive.proto.tiktok_proto.P2PGroupChangeContent = <object object>, business_content: ~TikTokLive.proto.tiktok_proto.BusinessContent = <object object>)

Bases: BaseEvent, WebcastLinkLayerMessage

class TikTokLive.events.proto_events.LinkMicArmiesEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, id: int = <object object>, battle_items: ~typing.List[~TikTokLive.proto.tiktok_proto.LinkMicArmiesItems] = <object object>, id2: int = <object object>, time_stamp1: int = <object object>, time_stamp2: int = <object object>, battle_status: ~TikTokLive.proto.tiktok_proto.LinkMicBattleStatus = <object object>, data1: int = <object object>, data2: int = <object object>, data3: int = <object object>, image: ~TikTokLive.proto.tiktok_proto.Image = <object object>, data4: int = <object object>, data5: int = <object object>)

Bases: BaseEvent, WebcastLinkMicArmies

class TikTokLive.events.proto_events.LinkMicBattleEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, id: int = <object object>, battle_config: ~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleLinkMicBattleConfig = <object object>, battle_status: ~TikTokLive.proto.tiktok_proto.LinkMicBattleStatus = <object object>, details: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleLinkMicBattleDetails] = <object object>, viewer_team: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleLinkMicBattleTopViewers] = <object object>, host_team: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleLinkMicBattleHost] = <object object>, team_data: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleLinkMicBattleTeamData] = <object object>, unknown_data16: int = <object object>, host_data2_v2: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastLinkMicBattleHost2V2Data] = <object object>)

Bases: BaseEvent, WebcastLinkMicBattle

class TikTokLive.events.proto_events.LinkMicFanTicketMethodEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, fan_ticket_room_notice: ~TikTokLive.proto.tiktok_proto.FanTicketRoomNoticeContent = <object object>)

Bases: BaseEvent, WebcastLinkMicFanTicketMethod

class TikTokLive.events.proto_events.LinkMicMethodEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, message_type: ~TikTokLive.proto.tiktok_proto.MessageType = <object object>, access_key: str = <object object>, anchor_linkmic_id: int = <object object>, user_id: int = <object object>, fan_ticket: int = <object object>, total_link_mic_fan_ticket: int = <object object>, channel_id: int = <object object>, layout: int = <object object>, vendor: int = <object object>, dimension: int = <object object>, theme: str = <object object>, invite_uid: int = <object object>)

Bases: BaseEvent, WebcastLinkMicMethod

class TikTokLive.events.proto_events.LiveIntroEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, room_id: int = <object object>, audit_status: ~TikTokLive.proto.tiktok_proto.AuditStatus = <object object>, content: str = <object object>, host: ~TikTokLive.proto.tiktok_proto.User = <object object>, intro_mode: int = <object object>, badges: ~typing.List[~TikTokLive.proto.tiktok_proto.BadgeStruct] = <object object>, language: str = <object object>)

Bases: BaseEvent, WebcastLiveIntroMessage

class TikTokLive.events.proto_events.MessageDetectEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, detect_type: int = <object object>, trigger_condition: ~TikTokLive.proto.tiktok_proto.WebcastMsgDetectMessageTriggerCondition = <object object>, time_info: ~TikTokLive.proto.tiktok_proto.WebcastMsgDetectMessageTimeInfo = <object object>, trigger_by: int = <object object>, from_region: str = <object object>)

Bases: BaseEvent, WebcastMsgDetectMessage

class TikTokLive.events.proto_events.OecLiveShoppingEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, data1: int = <object object>, shop_data: ~TikTokLive.proto.tiktok_proto.WebcastOecLiveShoppingMessageLiveShoppingData = <object object>, shop_timings: ~TikTokLive.proto.tiktok_proto.TimeStampContainer = <object object>, details: ~TikTokLive.proto.tiktok_proto.WebcastOecLiveShoppingMessageLiveShoppingDetails = <object object>)

Bases: BaseEvent, WebcastOecLiveShoppingMessage

class TikTokLive.events.proto_events.PollEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, message_type: ~TikTokLive.proto.tiktok_proto.MessageType = <object object>, poll_id: int = <object object>, start_content: ~TikTokLive.proto.tiktok_proto.PollStartContent = <object object>, end_content: ~TikTokLive.proto.tiktok_proto.PollEndContent = <object object>, update_content: ~TikTokLive.proto.tiktok_proto.PollUpdateVotesContent = <object object>, poll_kind: int = <object object>)

Bases: BaseEvent, WebcastPollMessage

class TikTokLive.events.proto_events.QuestionNewEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, details: ~TikTokLive.proto.tiktok_proto.WebcastQuestionNewMessageQuestionDetails = <object object>)

Bases: BaseEvent, WebcastQuestionNewMessage

class TikTokLive.events.proto_events.RankTextEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, scene: int = <object object>, owner_idx_before_update: int = <object object>, owner_idx_after_update: int = <object object>, self_get_badge_msg: ~TikTokLive.proto.tiktok_proto.Text = <object object>, other_get_badge_msg: ~TikTokLive.proto.tiktok_proto.Text = <object object>, cur_user_id: int = <object object>)

Bases: BaseEvent, WebcastRankTextMessage

class TikTokLive.events.proto_events.RankUpdateEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, updates_list: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastRankUpdateMessageRankUpdate] = <object object>, group_type: int = <object object>, priority: int = <object object>, tabs_list: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastRankUpdateMessageRankTabInfo] = <object object>, is_animation_loop_play: bool = <object object>, animation_loop_for_off: bool = <object object>)

Bases: BaseEvent, WebcastRankUpdateMessage

class TikTokLive.events.proto_events.RoomEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, content: str = <object object>)

Bases: BaseEvent, WebcastRoomMessage

class TikTokLive.events.proto_events.RoomPinEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, pinned_message: bytes = <object object>, original_msg_type: str = <object object>, timestamp: int = <object object>)

Bases: BaseEvent, WebcastRoomPinMessage

class TikTokLive.events.proto_events.RoomUserSeqEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, ranks_list: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastRoomUserSeqMessageContributor] = <object object>, total: int = <object object>, pop_str: str = <object object>, seats_list: ~typing.List[~TikTokLive.proto.tiktok_proto.WebcastRoomUserSeqMessageContributor] = <object object>, popularity: int = <object object>, total_user: int = <object object>, anonymous: int = <object object>)

Bases: BaseEvent, WebcastRoomUserSeqMessage

class TikTokLive.events.proto_events.SocialEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, share_type: int = <object object>, action: int = <object object>, share_target: str = <object object>, follow_count: int = <object object>, share_display_style: int = <object object>, share_count: int = <object object>)

Bases: BaseEvent, WebcastSocialMessage

class TikTokLive.events.proto_events.SubscribeEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, user: ~TikTokLive.proto.tiktok_proto.User = <object object>, sub_month: int = <object object>, subscribe_type: ~TikTokLive.proto.tiktok_proto.SubscribeType = <object object>, old_subscribe_status: ~TikTokLive.proto.tiktok_proto.OldSubscribeStatus = <object object>, subscribing_status: ~TikTokLive.proto.tiktok_proto.SubscribingStatus = <object object>, is_send: bool = <object object>, is_custom: bool = <object object>)

Bases: BaseEvent, WebcastSubNotifyMessage

class TikTokLive.events.proto_events.SystemEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, message: str = <object object>)

Bases: BaseEvent, WebcastSystemMessage

class TikTokLive.events.proto_events.UnauthorizedMemberEvent(common: ~TikTokLive.proto.tiktok_proto.Common = <object object>, action: int = <object object>, nick_name_prefix: ~TikTokLive.proto.tiktok_proto.Text = <object object>, nick_name: str = <object object>, enter_text: ~TikTokLive.proto.tiktok_proto.Text = <object object>)

Bases: BaseEvent, WebcastUnauthorizedMemberMessage

Module contents