class Tourmaline::ChatMemberUpdated

Overview

This object represents changes in the status of a chat member.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail


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

[View source]

Instance Method Detail

def chat : Tourmaline::Chat #

Chat the user belongs to


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

Chat the user belongs to


[View source]
def date : Time #

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

[View source]
def from : Tourmaline::User #

Performer of the action, which resulted in the change


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

Performer of the action, which resulted in the change


[View source]
def invite_link : Tourmaline::ChatInviteLink | Nil #

Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.


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

Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.


[View source]
def new_chat_member : Tourmaline::ChatMember #

New information about the chat member


[View source]
def new_chat_member=(new_chat_member : Tourmaline::ChatMember) #

New information about the chat member


[View source]
def old_chat_member : Tourmaline::ChatMember #

Previous information about the chat member


[View source]
def old_chat_member=(old_chat_member : Tourmaline::ChatMember) #

Previous information about the chat member


[View source]