lib/tdlib/client_methods.rb
# Handles a pending join request in a chat.
#
# @param chat_id [Integer] Chat identifier.
# @param user_id [Integer] Identifier of the user that sent the request.
# @param approve [Boolean] True, if the request is approved.
#   Otherwise the request is declined.
# @return [TD::Types::Ok]
Handles a pending join request in a chat.
Handles a pending join request in a chat .
def process_chat_join_request(chat_id:, user_id:, approve:)
    broadcast('@type'   => 'processChatJoinRequest',
              'chat_id' => chat_id,
              'user_id' => user_id,
              'approve' => approve)
  end
def process_chat_join_request ( chat_id : , user_id : , approve : ) broadcast ( '@type' => 'processChatJoinRequest' , 'chat_id' => chat_id , 'user_id' => user_id , 'approve' => approve ) end
Handles a pending join request in a chat.
Handles a pending join request in a chat .
None
TD::Types::Ok
chat_id
None
user_id
Identifier of the user that sent the request.
Identifier of the user that sent the request .
approve
True, if the request is approved. Otherwise the request is declined.
True if the request is approved . Otherwise the request is declined .