users.getUsers #

Returns basic user info according to their identifiers.

Layer 223

---functions---
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;

Parameters #

NameTypeDescription
idVector<InputUser>List of user identifiers

Result #

Vector<User>

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_MONOFORUM_UNSUPPORTEDMonoforums do not support this feature.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400FROM_MESSAGE_BOT_DISABLEDBots can't use fromMessage min constructors.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.
400USER_BANNED_IN_CHANNELYou're banned from sending messages in supergroups/channels.

Channels, supergroups, gigagroups and basic groups #

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.