You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i do it like this
MAINmodule.Set_message_id_db(message.from_user.id,message.message_id+1)
I write to the temp database the ID of the user's message + 1
but I think this method is not quite correct, when there are many users problems may arise (
tempinfo=MAINmodule.Get_tempinfo_db(message.from_user.id)
Bot.edit_message_text(chat_id = message.from_user.id, message_id = tempinfo.message_id, text = text_callback)
and then I get the message ID from the database and edit it
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i do it like this
MAINmodule.Set_message_id_db(message.from_user.id,message.message_id+1)
I write to the temp database the ID of the user's message + 1
but I think this method is not quite correct, when there are many users problems may arise (
tempinfo=MAINmodule.Get_tempinfo_db(message.from_user.id)
Bot.edit_message_text(chat_id = message.from_user.id, message_id = tempinfo.message_id, text = text_callback)
and then I get the message ID from the database and edit it
Beta Was this translation helpful? Give feedback.
All reactions