lib/tdlib/client_methods.rb
def process_chat_join_requests(chat_id:, invite_link:, approve:)
    broadcast('@type'       => 'processChatJoinRequests',
              'chat_id'     => chat_id,
              'invite_link' => invite_link,
              'approve'     => approve)
  end
# Handles all pending join requests for a given link in a chat.
#
# @param chat_id [Integer] Chat identifier.
# @param invite_link [TD::Types::String] Invite link for which to process join requests.
#   If empty, all join requests will be processed.
#   Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for
#   other links.
# @param approve [Boolean] True, if the requests are approved.
#   Otherwise the requests are declined.
# @return [TD::Types::Ok]
Handles all pending join requests for a given link in a chat.
Handles all pending join requests for a given link in a chat .
def process_chat_join_requests(chat_id:, invite_link:, approve:)
    broadcast('@type'       => 'processChatJoinRequests',
              'chat_id'     => chat_id,
              'invite_link' => invite_link,
              'approve'     => approve)
  end
def process_chat_join_requests ( chat_id : , invite_link : , approve : ) broadcast ( '@type' => 'processChatJoinRequests' , 'chat_id' => chat_id , 'invite_link' => invite_link , 'approve' => approve ) end
Handles all pending join requests for a given link in a chat.
Handles all pending join requests for a given link in a chat .
None
TD::Types::Ok
chat_id
None
invite_link
Invite link for which to process join requests. If empty, all join requests will be processed. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.
Invite link for which to process join requests . If empty all join requests will be processed . Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links .
approve
True, if the requests are approved. Otherwise the requests are declined.
True if the requests are approved . Otherwise the requests are declined .