class Tourmaline::UsersShared
- Tourmaline::UsersShared
- Reference
- Object
Overview
This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(request_id : Int32 | Int64, user_ids : Array(Int32 | Int64) = [] of Int32 | Int64)
Instance Method Summary
-
#request_id : Int32 | Int64
Identifier of the request
-
#request_id=(request_id : Int32 | Int64)
Identifier of the request
-
#user_ids : Array(Int32 | Int64)
Identifiers of the shared users.
-
#user_ids=(user_ids : Array(Int32 | Int64))
Identifiers of the shared users.
Constructor Detail
Instance Method Detail
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.
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.