Closed liaoxingquan closed 1 year ago
Pass identifier of the message, which should be replied.
@levlam Has anyone replied? Please wait, thank you, I want to reply to someone in the group,I has set the sendMessage::reply_to_messageid ,But it doesn't seem to work,How should I set it up?
Check that you specified a correct message identifier of a message in the same chat, which was received programmatically from TDLib.
class sendMessage final : public Function {
.....
using ReturnType = object_ptr
returned objectptr
I am using this id_
I found that this id is not a valid server recognized id ----------------------> i also found that must call getChatHistory this founction, get actual message_id
@levlam I don't know if you understand what I'm saying
This is a message identifier and it can be used as identifier of replied message. You must use an identifier, which was received programmatically from the same TDLib instance. You must not use a hardcoded message identifier.
sendMessage::reply_to_messageid is message::id_?