Пример #1
0
def help_command(update, context):
    keyboard = keyboards.github_link_kb()
    text = ("Anjengk"
            "<b>Supported commands:</b>\n"
            "/disablewebpagepreview\n"
            "/removecaption\n"
            "/addcaption\n"
            "/removebuttons\n"
            "/addbuttons")
    update.message.reply_text(text=text,
                              parse_mode=ParseMode.HTML,
                              reply_markup=keyboard)
Пример #2
0
def help_command(update, context):
    keyboard = keyboards.github_link_kb()
    text = (
        "<b>Do you want to send a message to someone or in a group, but you want to avoid "
        "that someone could spread it on telegram with your name? This bot just echos "
        "your messages</b>.\n\nSend here what you want and you will get the same message "
        "back, then forward the message where you want and the forward label will have "
        "the name of this bot.\n<i>It works also if you edit messages or forward messages. "
        "It also keeps the same text formatting style.</i>\n\n"
        "<b>Supported commands:</b>\n"
        "/disablewebpagepreview\n"
        "/removecaption\n"
        "/addcaption"
    )
    update.message.reply_text(text=text, parse_mode=ParseMode.HTML, reply_markup=keyboard)