MadelineProtoDocs/old_docs/API_docs_v46/constructors/inputPeerChat.md
2019-12-27 17:48:04 +01:00

678 B

title description image
inputPeerChat Defines a chat for further interaction. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPeerChat

Back to constructors index

Defines a chat for further interaction.

Attributes:

Name Type Required Description
chat_id int Yes Chat idientifier

Type: InputPeer

Example:

$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int];

Or, if you're into Lua:

inputPeerChat={_='inputPeerChat', chat_id=int}