def send_inline_query_error(bot: telegram.Bot, error_text: str, query_id: str):
bot.answer_inline_query(
inline_query_id=query_id,
is_personal=True,
cache_time=0,
results=[telegram.InlineQueryResultArticle(
extentions.TextHelper.get_random_id(),
'??????',
telegram.InputTextMessageContent(error_text, parse_mode='HTML'),
description=error_text
)]
)
评论列表
文章目录