Method: getInfo
Parameters:
Name | Type |
---|---|
id | A 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);
Name | Type |
---|---|
id | A username, a bot API chat id, a Chat, a User, an InputPeer, an InputUser, an InputChannel, a Peer, or a Chat object |
$Chat = $MadelineProto->getInfo($id);