lib/tdlib/client_methods.rb
# Adds multiple new members to a chat.
# Currently, this method is only available for supergroups and channels.
# This method can't be used to join a chat.
# Members can't be added to a channel if it has more than 200 members.
#
# @param chat_id [Integer] Chat identifier.
# @param user_ids [Array<Integer>] Identifiers of the users to be added to the chat.
#   The maximum number of added users is 20 for supergroups and 100 for channels.
# @return [TD::Types::Ok]
Adds multiple new members to a chat.
Currently, this method is only available for supergroups and channels.
This method can't be used to join a chat.
Members can't be added to a channel if it has more than 200 members.
Adds multiple new members to a chat . Currently this method is only available for supergroups and channels . This method can ' t be used to join a chat . Members can ' t be added to a channel if it has more than 200 members .
def add_chat_members(chat_id:, user_ids:)
    broadcast('@type'    => 'addChatMembers',
              'chat_id'  => chat_id,
              'user_ids' => user_ids)
  end
def add_chat_members ( chat_id : , user_ids : ) broadcast ( '@type' => 'addChatMembers' , 'chat_id' => chat_id , 'user_ids' => user_ids ) end
Adds multiple new members to a chat.
Adds multiple new members to a chat .
None
TD::Types::Ok
chat_id
None
user_ids
Identifiers of the users to be added to the chat. The maximum number of added users is 20 for supergroups and 100 for channels.
Identifiers of the users to be added to the chat . The maximum number of added users is 20 for supergroups and 100 for channels .