mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-26 12:25:08 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude |
---|---|---|
chat info | chat attributes, type and example | true |
Constructor: Info
Attributes:
Name | Type | Required | Description |
---|---|---|---|
type | string | Yes | bot, user, channel, supergroup or chat |
Chat | Chat | Optional | Info about the current chat |
User | User | Optional | Info about the current user |
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 |