mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-30 04:39:42 +01:00
785 B
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);