1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:59:02 +01:00
MadelineProto/docs/Info.md
Daniil Gentili b00880cf82 AMP fixes
2017-08-20 15:35:23 +00:00

894 B

title description
chat info chat attributes, type and example

Constructor: Info

Attributes:

Name Type Required Description
type string Yes bot, user, channel, supergroup or chat
bot_api_id long Yes bot API chat id
InputPeer InputPeer Yes InputPeer object
Peer Peer Optional Peer object
user_id int Optional MTProto user id
chat_id int Optional MTProto chat id
channel_id int Optional MTProto channel id
InputUser InputUser Optional InputUser object
InputChannel InputChannel Optional InputChannel object