share_users_with_bot


Description:

public async Ok share_users_with_bot (int64 chat_id, int64 message_id, int32 button_id, ArrayList<int64?> shared_user_ids, bool only_check) throws TDLibError

Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot

Parameters:

chat_id

Identifier of the chat with the bot

message_id

Identifier of the message with the button

button_id

Identifier of the button

shared_user_ids

Identifiers of the shared users

only_check

Pass true to check that the users can be shared by the button instead of actually sharing them