class Tourmaline::ChatOwnerLeft

Overview

Describes a service message about the chat owner leaving the chat.

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(new_owner : Tourmaline::User | Nil = nil) #

[View source]

Instance Method Detail

def new_owner : Tourmaline::User | Nil #

Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat


[View source]
def new_owner=(new_owner : Tourmaline::User | Nil) #

Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat


[View source]