MadelineProtoDocs/docs/getDialogs.md
2020-01-05 17:55:38 +01:00

437 B

title description redirect_from
getDialogs getDialogs parameters, return type and example /get_dialogs.html

Method: getDialogs

Gets full list of dialogs

Return type: Array of Peer objects

Example (now fully async!):

$Peers = yield  $MadelineProto->getDialogs();

Or, if you're into Lua:

Peers = getDialogs()