Config¶
-
class
pyrogram.api.types.
Config
(date: int, expires: int, test_mode: bool, this_dc: int, dc_options: list, dc_txt_domain_name: str, chat_size_max: int, megagroup_size_max: int, forwarded_count_max: int, online_update_period_ms: int, offline_blur_timeout_ms: int, offline_idle_timeout_ms: int, online_cloud_timeout_ms: int, notify_cloud_delay_ms: int, notify_default_delay_ms: int, push_chat_period_ms: int, push_chat_limit: int, saved_gifs_limit: int, edit_time_limit: int, revoke_time_limit: int, revoke_pm_time_limit: int, rating_e_decay: int, stickers_recent_limit: int, stickers_faved_limit: int, channels_read_media_period: int, pinned_dialogs_count_max: int, call_receive_timeout_ms: int, call_ring_timeout_ms: int, call_connect_timeout_ms: int, call_packet_timeout_ms: int, me_url_prefix: str, caption_length_max: int, message_length_max: int, webfile_dc_id: int, phonecalls_enabled: bool = None, default_p2p_contacts: bool = None, preload_featured_stickers: bool = None, ignore_phone_entities: bool = None, revoke_pm_inbox: bool = None, blocked_mode: bool = None, pfs_enabled: bool = None, tmp_sessions: int = None, autoupdate_url_prefix: str = None, gif_search_username: str = None, venue_search_username: str = None, img_search_username: str = None, static_maps_provider: str = None, suggested_lang_code: str = None, lang_pack_version: int = None, base_lang_pack_version: int = None)¶ -
ID
¶ 0xe6ca25f6
Parameters: - date –
int
32-bit
- expires –
int
32-bit
- test_mode –
bool
- this_dc –
int
32-bit
- dc_options – List of
DcOption
- dc_txt_domain_name –
str
- chat_size_max –
int
32-bit
- megagroup_size_max –
int
32-bit
- forwarded_count_max –
int
32-bit
- online_update_period_ms –
int
32-bit
- offline_blur_timeout_ms –
int
32-bit
- offline_idle_timeout_ms –
int
32-bit
- online_cloud_timeout_ms –
int
32-bit
- notify_cloud_delay_ms –
int
32-bit
- notify_default_delay_ms –
int
32-bit
- push_chat_period_ms –
int
32-bit
- push_chat_limit –
int
32-bit
- saved_gifs_limit –
int
32-bit
- edit_time_limit –
int
32-bit
- revoke_time_limit –
int
32-bit
- revoke_pm_time_limit –
int
32-bit
- rating_e_decay –
int
32-bit
- stickers_recent_limit –
int
32-bit
- stickers_faved_limit –
int
32-bit
- channels_read_media_period –
int
32-bit
- pinned_dialogs_count_max –
int
32-bit
- call_receive_timeout_ms –
int
32-bit
- call_ring_timeout_ms –
int
32-bit
- call_connect_timeout_ms –
int
32-bit
- call_packet_timeout_ms –
int
32-bit
- me_url_prefix –
str
- caption_length_max –
int
32-bit
- message_length_max –
int
32-bit
- webfile_dc_id –
int
32-bit
- phonecalls_enabled (optional) –
bool
- default_p2p_contacts (optional) –
bool
- preload_featured_stickers (optional) –
bool
- ignore_phone_entities (optional) –
bool
- revoke_pm_inbox (optional) –
bool
- blocked_mode (optional) –
bool
- pfs_enabled (optional) –
bool
- tmp_sessions (optional) –
int
32-bit
- autoupdate_url_prefix (optional) –
str
- gif_search_username (optional) –
str
- venue_search_username (optional) –
str
- img_search_username (optional) –
str
- static_maps_provider (optional) –
str
- suggested_lang_code (optional) –
str
- lang_pack_version (optional) –
int
32-bit
- base_lang_pack_version (optional) –
int
32-bit
See also
This object can be returned by
help.GetConfig
.-