Class: TD::Types::ChatInviteLinkInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_invite_link_info.rb

Overview

Contains information about a chat invite link.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier of the invite link; 0 if the user is not a member of this chat.

Returns:

  • (Integer)

    the current value of chat_id



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def chat_id
  @chat_id
end

#is_publicBoolean

True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.

Returns:

  • (Boolean)

    the current value of is_public



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def is_public
  @is_public
end

#member_countInteger

Number of members.

Returns:

  • (Integer)

    the current value of member_count



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def member_count
  @member_count
end

#member_user_idsArray<Integer>

User identifiers of some chat members that may be known to the current user.

Returns:

  • (Array<Integer>)

    the current value of member_user_ids



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def member_user_ids
  @member_user_ids
end

#photoTD::Types::ChatPhoto?

Chat photo; may be null.

Returns:



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def photo
  @photo
end

#titleString

Title of the chat.

Returns:

  • (String)

    the current value of title



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def title
  @title
end

#typeTD::Types::ChatType

Contains information about the type of the chat.

Returns:



12
13
14
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12

def type
  @type
end