TermsOfService¶
- class pyrogram.types.TermsOfService¶
Telegram’s Terms of Service returned by
sign_in()
.- Parameters:¶
id (
str
) – Terms of Service identifier.text (
str
) – Terms of Service text.entities (List of
MessageEntity
) – Special entities like URLs that appear in the text.