TermsOfService#
- class hydrogram.types.TermsOfService[source]#
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.