peyk.platform_core.contracts.capabilities¶
Capabilities advertised by each platform adapter.
Classes
|
PlatformCapabilities provides the platform-core API surface used by peyk. |
- class peyk.platform_core.contracts.capabilities.PlatformCapabilities(supports_topics: bool, supports_scheduled_messages: bool, update_delivery: ~typing.Literal['polling', 'webhook_only', 'both'], platform: str = 'custom', supported_parse_modes: list[str] = <factory>, callback_data_max_bytes: int | None = None, supports_payments: bool = False, supports_admin_detection: bool = False, supports_chat_member_status_updates: bool = False)[source]¶
Bases:
objectPlatformCapabilities provides the platform-core API surface used by peyk.
- supports_topics: bool¶
- supports_scheduled_messages: bool¶
- update_delivery: Literal['polling', 'webhook_only', 'both']¶
- platform: str = 'custom'¶
- supported_parse_modes: list[str]¶
- callback_data_max_bytes: int | None = None¶
- supports_payments: bool = False¶
- supports_admin_detection: bool = False¶
- supports_chat_member_status_updates: bool = False¶