V
V
violettaz02020-05-26 20:07:14
Python
violettaz0, 2020-05-26 20:07:14

Sending a message from a user to a group?

5ecd4bf98a9fb895756333.png
I need that after the 30th line, when a person sends a number (Not with a message, but through a button), this number comes to my group, they offer it through the handler

@bot.message_handler(content_types=["text"])
def forward_group(message):
      bot.forward_message(group_id, from_chat_id, message_id)


They told + to insert your arguments, but I can’t understand what the arguments are. newbie I

really need a bot, if there are other ways or a solution to this, please let me know!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question