'Reply to user's message from group using telegram bot pytelegrambotapi
So, I'm creating bot for support. it works very simple: user sends message to bot, bot sends it to private group. In private group there are guys from support. They just should reply on forwarded message
So, I've done first part - forward message from bot to group. How can I do reply to this message in my private group and forward it back using the pytelegrambotapi library?
Here you can see how message goes to private group
@bot.channel_post_handler(content_types = ['text'])#citySupportName
def process_step2(message):
bot.forward_message(0000000000, message.chat.id, message.message_id)
bot.send_message(message.chat.id, "Operator is here!")
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
