pub async fn share_users_with_bot(
chat_id: i64,
message_id: i64,
button_id: i32,
shared_user_ids: Vec<i64>,
only_check: bool,
client_id: i32,
) -> Result<(), Error>
Expand description
Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot
ยงArguments
chat_id
- Identifier of the chat with the botmessage_id
- Identifier of the message with the buttonbutton_id
- Identifier of the buttonshared_user_ids
- Identifiers of the shared usersonly_check
- Pass true to check that the users can be shared by the button instead of actually sharing themclient_id
- The client id to send the request to