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

#accessible_forInteger

If non-zero, the amount of time for which read access to the chat will remain available, in seconds.

Returns:

  • (Integer)

    the current value of accessible_for



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def accessible_for
  @accessible_for
end

#chat_idInteger

Chat identifier of the invite link; 0 if the user has no access to the chat before joining.

Returns:

  • (Integer)

    the current value of chat_id



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

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



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def is_public
  @is_public
end

#member_countInteger

Number of members in the chat.

Returns:

  • (Integer)

    the current value of member_count



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

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



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def member_user_ids
  @member_user_ids
end

#photoTD::Types::ChatPhotoInfo?

Chat photo; may be null.

Returns:



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def photo
  @photo
end

#titleTD::Types::String

Title of the chat.

Returns:

  • (TD::Types::String)

    the current value of title



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def title
  @title
end

#typeTD::Types::ChatType

Contains information about the type of the chat.

Returns:



14
15
16
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14

def type
  @type
end