MadelineProtoDocs/old_docs/API_docs_v14/constructors/inputPeerChat.md

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}