Class: TD::Types::ChatMemberStatus::Creator

Inherits:
TD::Types::ChatMemberStatus show all
Defined in:
lib/tdlib/types/chat_member_status/creator.rb

Overview

The user is the owner of a chat and has all the administrator privileges.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#custom_titleTD::Types::String

A custom title of the owner; 0-16 characters without emojis; applicable to supergroups only.

Returns:

  • (TD::Types::String)

    the current value of custom_title



9
10
11
# File 'lib/tdlib/types/chat_member_status/creator.rb', line 9

def custom_title
  @custom_title
end

#is_anonymousBoolean

True, if the creator isn’t shown in the chat member list and sends messages anonymously; applicable to supergroups only.

Returns:

  • (Boolean)

    the current value of is_anonymous



9
10
11
# File 'lib/tdlib/types/chat_member_status/creator.rb', line 9

def is_anonymous
  @is_anonymous
end

#is_memberBoolean

True, if the user is a member of the chat.

Returns:

  • (Boolean)

    the current value of is_member



9
10
11
# File 'lib/tdlib/types/chat_member_status/creator.rb', line 9

def is_member
  @is_member
end