class Tourmaline::UsersShared

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(request_id : Int32 | Int64, users : Array(Tourmaline::SharedUser) = [] of Tourmaline::SharedUser) #

[View source]

Instance Method Detail

def request_id : Int32 | Int64 #

Identifier of the request


[View source]
def request_id=(request_id : Int32 | Int64) #

Identifier of the request


[View source]
def users : Array(Tourmaline::SharedUser) #

Information about users shared with the bot.


[View source]
def users=(users : Array(Tourmaline::SharedUser)) #

Information about users shared with the bot.


[View source]