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

PeerSettings

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_spamtrueoptional
add_contacttrueoptional
block_contacttrueoptional
share_contacttrueoptional
need_contacts_exceptiontrueoptional
report_geotrueoptional
autoarchivedtrueoptional
invite_memberstrueoptional
request_chat_broadcasttrueoptional
business_bot_pausedtrueoptional
business_bot_can_replytrueoptional
geo_distanceintoptional
request_chat_titlestringoptional
request_chat_dateintoptional
business_bot_idlongoptional
business_bot_manage_urlstringoptional
charge_paid_message_starslongoptional
registration_monthstringoptional
phone_countrystringoptional
name_change_dateintoptional
photo_change_dateintoptional