class Hamilton::Types::ChatMemberOwner

Overview

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

Included Modules

Defined in:

types/chat_member.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def custom_title : String | Nil #

Custom title for this user.


def custom_title=(custom_title : String | Nil) #

Custom title for this user.


def is_anonymous : Bool #

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


def is_anonymous=(is_anonymous : Bool) #

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


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def status : String #

The member's status in the chat, always “creator”.


def status=(status : String) #

The member's status in the chat, always “creator”.


Information about the user.


def user=(user : Hamilton::Types::User) #

Information about the user.