class Telegram::API::ChatJoinRequest

Overview

Represents a join request sent to a chat.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(chat : Chat, from : User, date : Time, bio : String | Nil = nil, invite_link : ChatInviteLink | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

Represents a join request sent to a chat.


[View source]

Instance Method Detail

def bio : String | Nil #

Optional. Bio of the user.


[View source]
def bio=(bio : String | Nil) #

Optional. Bio of the user.


[View source]
def chat : Chat #

Chat to which the request was sent


[View source]
def chat=(chat : Chat) #

Chat to which the request was sent


[View source]
def date : Time #

Date the request was sent in Unix time


[View source]
def date=(date : Time) #

Date the request was sent in Unix time


[View source]
def from : User #

User that sent the join request


[View source]
def from=(from : User) #

User that sent the join request


[View source]
def invite_link : ChatInviteLink | Nil #

Optional. Chat invite link that was used by the user to send the join request


[View source]
def invite_link=(invite_link : ChatInviteLink | Nil) #

Optional. Chat invite link that was used by the user to send the join request


[View source]