1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 22:56:54 +01:00
MadelineProto/docs/TD_docs/constructors/users.md
2017-07-23 16:33:46 +02:00

771 B

title description
users Contains list of users

Constructor: users

Back to constructors index

Contains list of users

Attributes:

Name Type Required Description
total_count int Yes Approximate total count of found users
users Array of user Yes List of users

Type: Users

Example:

$users = ['_' => 'users', 'total_count' => int, 'users' => [user]];

PWRTelegram json-encoded version:

{"_": "users", "total_count": int, "users": [user]}

Or, if you're into Lua:

users={_='users', total_count=int, users={user}}