Skip to content

savePreparedKeyboardButton

Function · TDLib 1.8.67 · d1085f9c

Saves a keyboard button to be shown to the given user; for bots only

savePreparedKeyboardButton(
  user_id: int53,
  button: KeyboardButton
) → Text

user_id

int53

Identifier of the user

button

KeyboardButton

The button; must be of the type keyboardButtonTypeRequestUsers, keyboardButtonTypeRequestChat, or keyboardButtonTypeRequestManagedBot