1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:27:46 +01:00
MadelineProto/old_docs/API_docs_v72/constructors/channelBannedRights.md
2017-11-15 12:41:58 +00: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}