Method: contacts.getStatuses

Back to methods index

Get online status of all users

Return type: Vector_of_ContactStatus

Can bots use this method: NO

MadelineProto Example:

if (!file_exists('madeline.php')) {
    copy('', 'madeline.php');
define('MADELINE_BRANCH', '');
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');

$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses();

Or, if you’re into Lua:

Vector_of_ContactStatus = contacts.getStatuses({})
This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.