MadelineProtoDocs/docs/API_docs/constructors/channelBannedRights.md
2018-04-01 13:24:46 +02:00

1.6 KiB

title description
channelBannedRights channelBannedRights attributes, type and example

Constructor: channelBannedRights

Back to constructors index

Attributes:

Name Type Required
view_messages Bool Optional
send_messages Bool Optional
send_media Bool Optional
send_stickers Bool Optional
send_gifs Bool Optional
send_games Bool Optional
send_inline Bool Optional
embed_links Bool Optional
until_date int Yes

Type: ChannelBannedRights

Example:

$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int];

PWRTelegram json-encoded version:

{"_": "channelBannedRights", "view_messages": Bool, "send_messages": Bool, "send_media": Bool, "send_stickers": Bool, "send_gifs": Bool, "send_games": Bool, "send_inline": Bool, "embed_links": Bool, "until_date": int}

Or, if you're into Lua:

channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int}