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



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

def chat_id
  @chat_id
end

#is_publicBoolean

True, if the chat is a public supergroup or a channel with a username.

Returns:

  • (Boolean)

    the current value of is_public



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

def is_public
  @is_public
end

#member_countInteger

Number of members.

Returns:

  • (Integer)

    the current value of member_count



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

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



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

def member_user_ids
  @member_user_ids
end

#photoTD::Types::ChatPhoto?

Chat photo; may be null.

Returns:



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

def photo
  @photo
end

#titleString

Title of the chat.

Returns:

  • (String)

    the current value of title



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

def title
  @title
end

#typeTD::Types::ChatType

Contains information about the type of the chat.

Returns:



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

def type
  @type
end