InlineKeyboardMarkup

class pyrogram.types.InlineKeyboardMarkup

An inline keyboard that appears right next to the message it belongs to.

Parameters:

inline_keyboard (List of List of InlineKeyboardButton | InlineKeyboardButtonBuy) – List of button rows, each represented by a List of InlineKeyboardButton objects. InlineKeyboardButtonBuy objects is only for send_invoice(). and only one needed in the first row.