MadelineProtoDocs/docs/getDialogs.md

407 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 (now fully async!):

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

Or, if you're into Lua:

Peers = getDialogs()