Skip to content

shareUsersWithBot

Function · TDLib 1.8.67 · d1085f9c

Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot

shareUsersWithBot(
  source: KeyboardButtonSource,
  button_id: int32,
  shared_user_ids: list of int53,
  only_check: Bool
) → Ok

source

KeyboardButtonSource

Source of the button

button_id

int32

Identifier of the button

shared_user_ids

list of int53

Identifiers of the shared users

only_check

Bool

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