请帮帮我。如何在'python-telegram-bot‘库中禁用声音通知?此代码不起作用:
update.effective_message.reply_text("any text",
disable_notification=True,reply_markup=test_keyboard)或
context.bot.send_message(chat_id=context.chat_data.get('user').id,
text="any text",
disable_notification=True,
reply_markup=greeting_keyboard)发布于 2021-02-11 02:01:41
您只能在发布到频道时应用此功能。只有当用户自己将其静音时,他们才不会收到来自机器人的通知。
https://stackoverflow.com/questions/64360221
复制相似问题