MadelineProtoDocs/docs/getDialogs.md

436 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()