Set global privacy settings
Method schema is available as of layer 116. Switch »
Name | Type | Description |
---|---|---|
settings | GlobalPrivacySettings | Global privacy settings |
Code | Type | Description |
---|---|---|
400 | AUTOARCHIVE_NOT_AVAILABLE | The autoarchive setting is not available at this time: please check the value of the autoarchive_setting_available field in client config » before calling this method. |
403 | BOT_ACCESS_FORBIDDEN | The specified method can be used over a business connection for some operations, but the specified query attempted an operation that is not allowed over a business connection. |
400 | BUSINESS_CONNECTION_INVALID | The connection_id passed to the wrapping invokeWithBusinessConnection call is invalid. |
403 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
Business users can connect Telegram bots that will process and answer messages on their behalf. This allows businesses to seamlessly integrate any existing tools and workflows, or add AI assistants that manage their chats.
Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.