Skip to content

class Tourmaline::ChatMemberOwner
inherits Reference #

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

Included modules

JSON::Serializable

Constructors#

.new(status, user, is_anonymous, custom_title : String? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#custom_title : String? #

Optional. Custom title for this user

View source

#custom_title=(custom_title : String?) #

Optional. Custom title for this user

View source

#is_anonymous=(is_anonymous : Bool) #

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

View source

#is_anonymous? : Bool #

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

View source

#status : String #

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

View source

#status=(status : String) #

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

View source

#user : Tourmaline::User #

Information about the user

View source

#user=(user : Tourmaline::User) #

Information about the user

View source