class Telegram::API::ChatMemberOwner

Overview

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

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(status : String, user : User, is_anonymous : Bool, custom_title : String | Nil = nil) #

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

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


[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 : Bool #

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


[View source]
def is_anonymous=(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 : User #

Information about the user


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

Information about the user


[View source]