Skip to content

[SOLVED] hide inlinekeyboard after click #71

@Sparviero-Sughero

Description

@Sparviero-Sughero

i made this code

      /* inlinekeyboard */
      $keyboard_buttons = [
        new InlineKeyboardButton(['text' => $ico_enab.' Enabled', 'callback_data' => "switchcam;".$row['camera_name'].';enable']),
        new InlineKeyboardButton(['text' => $ico_disab.' Disabled', 'callback_data' => "switchcam;".$row['camera_name'].';disable']),
      ];
      $inline_keyboard = new InlineKeyboard($keyboard_buttons);

it is possible to hide the keyboard (or delete entire message) wher user click a button?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions