pub async fn send_bot_start_message(
bot_user_id: i64,
chat_id: i64,
parameter: String,
client_id: i32,
) -> Result<Message, Error>Expand description
Invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires can_invite_users member right. 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
§Arguments
bot_user_id- Identifier of the botchat_id- Identifier of the target chatparameter- A hidden parameter sent to the bot for deep linking purposes (https:core.telegram.org/bots#deep-linking)client_id- The client id to send the request to