1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 15:14:39 +01:00
MadelineProto/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md
2017-07-23 16:33:46 +02:00

927 B

title description
chatParticipantsForbidden chatParticipantsForbidden attributes, type and example

Constructor: chatParticipantsForbidden

Back to constructors index

Attributes:

Name Type Required
chat_id int Yes
self_participant ChatParticipant Optional

Type: ChatParticipants

Example:

$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant];

PWRTelegram json-encoded version:

{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant}

Or, if you're into Lua:

chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant}