UsersShared

data class UsersShared(val requestId: Int, val userIds: List<Long> = emptyList())(source)

UsersShared

This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(requestId: Int, userIds: List<Long> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "request_id")
val requestId: Int

Identifier of the request

Link copied to clipboard
@SerialName(value = "user_ids")
val userIds: List<Long>

Identifiers of the shared users. These numbers may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting them. But they have at most 52 significant bits, so 64-bit integers or double-precision float types are safe for storing these identifiers. The bot may not have access to the users and could be unable to use these identifiers, unless the users are already known to the bot by some other means.