447 B
447 B
title | description |
---|---|
get_dialogs | get_dialogs parameters, return type and example |
Method: get_dialogs
Gets full list of dialogs
Return type: Array of Peer objects
Example:
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$Peers = [yield](ASYNC.html) $MadelineProto->get_dialogs();
Or, if you're into Lua:
Peers = get_dialogs()