MadelineProto/old_docs/API_docs_v68/constructors/channelBannedRights.md
2017-07-23 17:44:01 +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}