peyk.platform_core.enums¶
Finite string domains used by the platform-neutral core.
- class peyk.platform_core.enums.ChatTypeValue(*values)[source]¶
Bases:
str,EnumCanonical normalized chat-type values.
- PRIVATE = 'private'¶
- GROUP = 'group'¶
- SUPERGROUP = 'supergroup'¶
- class peyk.platform_core.enums.ParseMode(*values)[source]¶
Bases:
str,EnumParseMode defines a public API type for peyk.
- MARKDOWN = 'Markdown'¶
- MARKDOWN_V2 = 'MarkdownV2'¶
- HTML = 'HTML'¶
- peyk.platform_core.enums.PlatformName¶
alias of
Platform
- class peyk.platform_core.enums.UpdateDelivery(*values)[source]¶
Bases:
str,EnumSupported ways a platform can deliver updates.
- POLLING = 'polling'¶
- WEBHOOK_ONLY = 'webhook_only'¶
- BOTH = 'both'¶
Modules