1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-08 11:48:17 +01:00
MadelineProto/docs/TD_docs/constructors/privateChatInfo.md
2017-07-23 16:11:02 +02:00

709 B

title description
privateChatInfo Ordinary chat with one user

Constructor: privateChatInfo

Back to constructors index

Ordinary chat with one user

Attributes:

Name Type Required Description
user user Yes Information about interlocutor

Type: ChatInfo

Example:

$privateChatInfo = ['_' => 'privateChatInfo', 'user' => user, ];

PWRTelegram json-encoded version:

{"_":"privateChatInfo","user":"user"}

Or, if you're into Lua:

privateChatInfo={_='privateChatInfo', user=user, }