class Tourmaline::ChatMemberOwner
- Tourmaline::ChatMemberOwner
- Reference
- Object
Overview
Represents a chat member that owns the chat and has all administrator privileges.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(status : String, user : Tourmaline::User, is_anonymous : Bool, custom_title : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#custom_title : String | Nil
Optional.
-
#custom_title=(custom_title : String | Nil)
Optional.
-
#is_anonymous=(is_anonymous : Bool)
True, if the user's presence in the chat is hidden
-
#is_anonymous? : Bool
True, if the user's presence in the chat is hidden
-
#status : String
The member's status in the chat, always "creator"
-
#status=(status : String)
The member's status in the chat, always "creator"
-
#user : Tourmaline::User
Information about the user
-
#user=(user : Tourmaline::User)
Information about the user
Constructor Detail
def self.new(status : String, user : Tourmaline::User, is_anonymous : Bool, custom_title : String | Nil = nil)
#