telegram.inlinekeyboardmarkup module

This module contains an object that represents a Telegram InlineKeyboardMarkup

class telegram.inlinekeyboardmarkup.InlineKeyboardMarkup(inline_keyboard, **kwargs)

Bases: telegram.replymarkup.ReplyMarkup

This object represents a Telegram InlineKeyboardMarkup.

inline_keyboard

List[List[telegram.InlineKeyboardButton]]

Parameters:
static de_json(data, bot)
Parameters:
Returns:

Return type:

telegram.InlineKeyboardMarkup

to_dict()