Class: TD::Types::Update::NewChatJoinRequest

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/new_chat_join_request.rb

Overview

A user sent a join request to a chat; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



9
10
11
# File 'lib/tdlib/types/update/new_chat_join_request.rb', line 9

def chat_id
  @chat_id
end

The invite link, which was used to send join request; may be null.

Returns:



9
10
11
# File 'lib/tdlib/types/update/new_chat_join_request.rb', line 9

def invite_link
  @invite_link
end

#requestTD::Types::ChatJoinRequest

Join request.

Returns:



9
10
11
# File 'lib/tdlib/types/update/new_chat_join_request.rb', line 9

def request
  @request
end

#user_chat_idInteger

Chat identifier of the private chat with the user.

Returns:

  • (Integer)

    the current value of user_chat_id



9
10
11
# File 'lib/tdlib/types/update/new_chat_join_request.rb', line 9

def user_chat_id
  @user_chat_id
end