Source code for SlyYTDAPI.livechat

"""
YouTube Live Chat Endpoints for the Data API v3
https://developers.google.com/youtube/v3/live/docs
"""
from datetime import datetime
from .ytdapi import YouTubeData, Part, yt_date

class _LiveChatEvent: pass

[docs]class ChatEnd: pass
[docs]class ChatMessageDeleted: id: str
[docs]class SponsorOnlyStart: pass
[docs]class SponsorOnlyEnd: pass
[docs]class NewSponsor: id: str name: str channel_id: str
[docs]class SuperChat: pass
[docs]class SuperSticker: pass
[docs]class Tombstone: pass
[docs]class UserBanned: pass
[docs]class MembershipGifting: pass
[docs]class MembershipGiftReceived: pass
[docs]class TextChat: id: str # part: snippet author_name: str author_channel_id: str body: str created_at: datetime
[docs]class YouTubeDataWithLiveChat(YouTubeData): _next_page: str|None = None