class Tourmaline::ChatMemberOwner

Overview

Represents a chat member that owns the chat and has all administrator privileges.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(status : String, user : Tourmaline::User, is_anonymous : Bool, custom_title : String | Nil = nil) #

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

[View source]

Instance Method Detail

def custom_title : String | Nil #

Optional. Custom title for this user


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

Optional. Custom title for this user


[View source]
def is_anonymous=(is_anonymous : Bool) #

True, if the user's presence in the chat is hidden


[View source]
def is_anonymous? : Bool #

True, if the user's presence in the chat is hidden


[View source]
def status : String #

The member's status in the chat, always "creator"


[View source]
def status=(status : String) #

The member's status in the chat, always "creator"


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

Information about the user


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

Information about the user


[View source]