ChatBannedRights

---types---
chatBannedRights#9f120418 view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true manage_topics:flags.18?true send_photos:flags.19?true send_videos:flags.20?true send_roundvideos:flags.21?true send_audios:flags.22?true send_voices:flags.23?true send_docs:flags.24?true send_plain:flags.25?true edit_rank:flags.26?true send_reactions:flags.27?true until_date:int = ChatBannedRights

Belongs to

ChatBannedRights

In Rust this constructor is a variant of the enums::ChatBannedRights enum.
Match on it with: if let enums::ChatBannedRights::ChatBannedRights(v) = result { ... }

Parameters

view_messagestrueoptional
send_messagestrueoptional
send_mediatrueoptional
send_stickerstrueoptional
send_gifstrueoptional
send_gamestrueoptional
send_inlinetrueoptional
embed_linkstrueoptional
send_pollstrueoptional
change_infotrueoptional
invite_userstrueoptional
pin_messagestrueoptional
manage_topicstrueoptional
send_photostrueoptional
send_videostrueoptional
send_roundvideostrueoptional
send_audiostrueoptional
send_voicestrueoptional
send_docstrueoptional
send_plaintrueoptional
edit_ranktrueoptional
send_reactionstrueoptional
until_dateintrequired

Used by

EditBanned
EditChatDefaultBannedRights