Link Search Menu Expand Document

Constructor: Info

Attributes:

NameTypeRequiredDescription
typestringYesbot, user, channel, supergroup or chat
ChatChatOptionalInfo about the current chat
UserUserOptionalInfo about the current user
bot_api_idlongYesbot API chat id
InputPeerInputPeerYesInputPeer object
PeerPeerOptionalPeer object
user_idintOptionalMTProto user id
chat_idintOptionalMTProto chat id
channel_idintOptionalMTProto channel id
InputUserInputUserOptionalInputUser object
InputChannelInputChannelOptionalInputChannel object