MadelineProtoDocs/docs/getInfo.md
2024-05-01 14:53:46 +02:00

785 B

title description redirect_from grand_parent parent
getInfo getInfo parameters, return type and example /get_info.html Telegram RPC API Methods

Method: getInfo

Parameters:

Name Type
id A username, a bot API chat id, a tg-cli 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);