peerSettings
Signature
Section titled “Signature”peerSettings#2441c84b flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true autoarchived:flags.7?true invite_members:flags.8?true request_chat_broadcast:flags.10?true business_bot_paused:flags.11?true business_bot_can_reply:flags.12?true geo_distance:flags.6?int request_chat_title:flags.9?string request_chat_date:flags.9?int business_bot_id:flags.13?long business_bot_manage_url:flags.13?string charge_paid_message_stars:flags.14?long registration_month:flags.15?string phone_country:flags.16?string name_change_date:flags.17?int photo_change_date:flags.18?int bot_inviter_id:flags.19?long bot_owner_id:flags.20?long = PeerSettings;Result type
Section titled “Result type”PeerSettings
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| report_spam | flags.0?true | flags.0 | — | |
| add_contact | flags.1?true | flags.1 | — | |
| block_contact | flags.2?true | flags.2 | — | |
| share_contact | flags.3?true | flags.3 | — | |
| need_contacts_exception | flags.4?true | flags.4 | — | |
| report_geo | flags.5?true | flags.5 | — | |
| autoarchived | flags.7?true | flags.7 | — | |
| invite_members | flags.8?true | flags.8 | — | |
| request_chat_broadcast | flags.10?true | flags.10 | — | |
| business_bot_paused | flags.11?true | flags.11 | — | |
| business_bot_can_reply | flags.12?true | flags.12 | — | |
| geo_distance | flags.6?int | flags.6 | — | |
| request_chat_title | flags.9?string | flags.9 | — | |
| request_chat_date | flags.9?int | flags.9 | — | |
| business_bot_id | flags.13?long | flags.13 | — | |
| business_bot_manage_url | flags.13?string | flags.13 | — | |
| charge_paid_message_stars | flags.14?long | flags.14 | — | |
| registration_month | flags.15?string | flags.15 | — | |
| phone_country | flags.16?string | flags.16 | — | |
| name_change_date | flags.17?int | flags.17 | — | |
| photo_change_date | flags.18?int | flags.18 | — | |
| bot_inviter_id | flags.19?long | flags.19 | — | |
| bot_owner_id | flags.20?long | flags.20 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| report_spam | 0 | Controlled by flags; present when this bit is set. |
| add_contact | 1 | Controlled by flags; present when this bit is set. |
| block_contact | 2 | Controlled by flags; present when this bit is set. |
| share_contact | 3 | Controlled by flags; present when this bit is set. |
| need_contacts_exception | 4 | Controlled by flags; present when this bit is set. |
| report_geo | 5 | Controlled by flags; present when this bit is set. |
| autoarchived | 7 | Controlled by flags; present when this bit is set. |
| invite_members | 8 | Controlled by flags; present when this bit is set. |
| request_chat_broadcast | 10 | Controlled by flags; present when this bit is set. |
| business_bot_paused | 11 | Controlled by flags; present when this bit is set. |
| business_bot_can_reply | 12 | Controlled by flags; present when this bit is set. |
| geo_distance | 6 | Controlled by flags; present when this bit is set. |
| request_chat_title | 9 | Controlled by flags; present when this bit is set. |
| request_chat_date | 9 | Controlled by flags; present when this bit is set. |
| business_bot_id | 13 | Controlled by flags; present when this bit is set. |
| business_bot_manage_url | 13 | Controlled by flags; present when this bit is set. |
| charge_paid_message_stars | 14 | Controlled by flags; present when this bit is set. |
| registration_month | 15 | Controlled by flags; present when this bit is set. |
| phone_country | 16 | Controlled by flags; present when this bit is set. |
| name_change_date | 17 | Controlled by flags; present when this bit is set. |
| photo_change_date | 18 | Controlled by flags; present when this bit is set. |
| bot_inviter_id | 19 | Controlled by flags; present when this bit is set. |
| bot_owner_id | 20 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PeerSettingsPublic access: miniproto.raw.types.PeerSettings.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
PeerSettings - Accepted by:
messages.peerSettings,updatePeerSettings,userFull