PerceptionEvent.
Signature
Section titled “Signature”class PerceptionEvent(BaseEvent, WebcastPerceptionMessage)Attributes
Section titled “Attributes”common(Optional[CommonMessageData])dialog(Optional[PerceptionDialogInfo])punish_info(Optional[PunishEventInfo])end_time(int)show_violation_warning(bool)toast(Optional[Text])float_style(int)float_text(Optional[Text])sheet(Optional[PerceptionSheetInfo])float_icon_type(PerceptionDialogIconType)
Import
Section titled “Import”from TikTokLive.events import PerceptionEvent