Skip to content

class Tourmaline::UsersShared
inherits Reference #

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

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(request_id, users : Array(Tourmaline::SharedUser) = [] of Tourmaline::SharedUser) #

View source

Methods#

#request_id : Int32 | Int64 #

Identifier of the request

View source

#request_id=(request_id : Int32 | Int64) #

Identifier of the request

View source

#users : Array(Tourmaline::SharedUser) #

Information about users shared with the bot.

View source

#users=(users : Array(Tourmaline::SharedUser)) #

Information about users shared with the bot.

View source