lib/tdlib/client_methods.rb
def add_chat_member(chat_id:, user_id:, forward_limit:)
    broadcast('@type'         => 'addChatMember',
              'chat_id'       => chat_id,
              'user_id'       => user_id,
              'forward_limit' => forward_limit)
  end
# Adds a new member to a chat.
# Members can't be added to private or secret chats.
#
# @param chat_id [Integer] Chat identifier.
# @param user_id [Integer] Identifier of the user.
# @param forward_limit [Integer] The number of earlier messages from the chat to be forwarded to the new member; up
#   to 100.
#   Ignored for supergroups and channels, or if the added user is a bot.
# @return [TD::Types::Ok]
Adds a new member to a chat.
Members can't be added to private or secret chats.
Adds a new member to a chat . Members can ' t be added to private or secret chats .
def add_chat_member(chat_id:, user_id:, forward_limit:)
    broadcast('@type'         => 'addChatMember',
              'chat_id'       => chat_id,
              'user_id'       => user_id,
              'forward_limit' => forward_limit)
  end
def add_chat_member ( chat_id : , user_id : , forward_limit : ) broadcast ( '@type' => 'addChatMember' , 'chat_id' => chat_id , 'user_id' => user_id , 'forward_limit' => forward_limit ) end
Adds a new member to a chat.
Adds a new member to a chat .
None
TD::Types::Ok
chat_id
None
user_id
Identifier of the user.
Identifier of the user .
forward_limit
The number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels, or if the added user is a bot.
The number of earlier messages from the chat to be forwarded to the new member ; up to 100 . Ignored for supergroups and channels or if the added user is a bot .