L
L
lucsieus2021-05-25 12:57:08
PHP
lucsieus, 2021-05-25 12:57:08

How to change part of text in telegram bot?

There is such functionality .

Question: how can I make sure that the entire text does not change, but only part of the text (which changes in GIF).

The logic is that a message is sent to the bot via GET. And these messages are not stored anywhere. When I change the text via editMessageText(), the message that arrived via GET disappears.

I'm wondering how to solve the problem...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kitos7, 2021-05-25
@lucsieus

Store the order number in callback_data Get
all order data from the database and edit messages with this data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question