Method: get_dialogs

Gets full list of dialogs

Return type: Array of Peer objects

Example:

$MadelineProto = new \danog\MadelineProto\API();
$MadelineProto->start();

$Peers = $MadelineProto->get_dialogs();

Or, if you’re into Lua:

Peers = get_dialogs()
This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.