A platform's limits, each in the platform's own unit.
message_lengthis the limit for one message, less any fixed overhead the text does not carry.min_write_intervalis the default floor between two writes to one thread, for streamed and multi-part posts.stream_length/stream_ageapply to native streams only;stream_lengthis never more thanmessage_length.actions_per_messageandaction_data_lengthare there exactly withbuttons,modal_metadata_lengthandmodal_fieldswithmodals,follow_up_agewithcommands.
Attributes#
| Attribute | Type | Description |
|---|---|---|
message_length | int | |
files_per_message | int | |
upload_bytes | int | |
min_write_interval | Duration | |
stream_length | int | None = None | |
stream_age | Duration | None = None | |
actions_per_message | int | None = None | |
action_data_length | int | None = None | |
modal_metadata_length | int | None = None | |
modal_fields | int | None = None | |
follow_up_age | Duration | None = None |
Functions#
__init__#
__init__(*, message_length, files_per_message, upload_bytes, min_write_interval, stream_length=None, stream_age=None, actions_per_message=None, action_data_length=None, modal_metadata_length=None, modal_fields=None, follow_up_age=None) -> None| Parameter | Type | Description |
|---|---|---|
message_length | int | |
files_per_message | int | |
upload_bytes | int | |
min_write_interval | Duration | |
stream_length | int | None = None | |
stream_age | Duration | None = None | |
actions_per_message | int | None = None | |
action_data_length | int | None = None | |
modal_metadata_length | int | None = None | |
modal_fields | int | None = None | |
follow_up_age | Duration | None = None |