Link Search Menu Expand Document

Method: getInfo

Parameters:

NameType
idA username, a bot API chat id, a Chat, a User, an InputPeer, an InputUser, an InputChannel, a Peer, or a Chat object

Return type: Info

Example (now fully async!):

$Chat = $MadelineProto->getInfo($id);