PeerSettings
---types---
peerSettings#f47741f7 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 = PeerSettings
Belongs to
In Rust this constructor is a variant of the enums::PeerSettings enum.
Match on it with: if let enums::PeerSettings::PeerSettings(v) = result { ... }
Parameters
| report_spam | true | optional |
| add_contact | true | optional |
| block_contact | true | optional |
| share_contact | true | optional |
| need_contacts_exception | true | optional |
| report_geo | true | optional |
| autoarchived | true | optional |
| invite_members | true | optional |
| request_chat_broadcast | true | optional |
| business_bot_paused | true | optional |
| business_bot_can_reply | true | optional |
| geo_distance | int | optional |
| request_chat_title | string | optional |
| request_chat_date | int | optional |
| business_bot_id | long | optional |
| business_bot_manage_url | string | optional |
| charge_paid_message_stars | long | optional |
| registration_month | string | optional |
| phone_country | string | optional |
| name_change_date | int | optional |
| photo_change_date | int | optional |