fix
This commit is contained in:
parent
9fa029d896
commit
a4d69a4723
@ -19,7 +19,7 @@ class SpoilerBotModuleConfig(TelegramBotModuleConfig):
|
||||
id=str(sm.pk),
|
||||
title='Send spoiler',
|
||||
input_message_content=InputTextMessageContent('This is a spoiler'),
|
||||
reply_markup=InlineKeyboardMarkup([InlineKeyboardButton('Read content', callback_data='read {}'.format(sm.pk))])
|
||||
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton('Read content', callback_data='read {}'.format(sm.pk))]])
|
||||
)])
|
||||
|
||||
def read_handler(self, update: Update, ctx: CallbackContext):
|
||||
|
Loading…
Reference in New Issue
Block a user