lib/tdlib/client_methods.rb
# Invites a bot to a chat (if it is not yet a member) and sends it the /start command.
# Bots can't be invited to a private chat other than the chat with the bot.
# Bots can't be invited to channels (although they can be added as admins) and secret chats.
# Returns the sent message.
#
# @param bot_user_id [Integer] Identifier of the bot.
# @param chat_id [Integer] Identifier of the target chat.
# @param parameter [TD::Types::String] A hidden parameter sent to the bot for deep linking purposes
#   (https://core.telegram.org/bots#deep-linking).
# @return [TD::Types::Message]
Invites a bot to a chat (if it is not yet a member) and sends it the /start command.
Bots can't be invited to a private chat other than the chat with the bot.
Bots can't be invited to channels (although they can be added as admins) and secret chats.
Returns the sent message.
Invites a bot to a chat ( if it is not yet a member ) and sends it the / start command . Bots can ' t be invited to a private chat other than the chat with the bot . Bots can ' t be invited to channels ( although they can be added as admins ) and secret chats . Returns the sent message .
def send_bot_start_message(bot_user_id:, chat_id:, parameter:)
    broadcast('@type'       => 'sendBotStartMessage',
              'bot_user_id' => bot_user_id,
              'chat_id'     => chat_id,
              'parameter'   => parameter)
  end
def send_bot_start_message ( bot_user_id : , chat_id : , parameter : ) broadcast ( '@type' => 'sendBotStartMessage' , 'bot_user_id' => bot_user_id , 'chat_id' => chat_id , 'parameter' => parameter ) end
Invites a bot to a chat (if it is not yet a member) and sends it the /start command.
Invites a bot to a chat ( if it is not yet a member ) and sends it the / start command .
None
TD::Types::Message
bot_user_id
Identifier of the bot.
Identifier of the bot .
chat_id
Identifier of the target chat.
Identifier of the target chat .
parameter
A hidden parameter sent to the bot for deep linking purposes .
A hidden parameter sent to the bot for deep linking purposes .