mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-26 12:25:08 +01:00
767 B
767 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 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);