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
msg, err := adaptivecard.NewSimpleMessage(msgText, msgTitle, true)
if err != nil {
log.Printf(
"failed to create message: %v",
err,
)
os.Exit(1)
}
// Send the message with default timeout/retry settings.
if err := mstClient.Send(webhookUrl, msg); err != nil {
log.Printf(
"failed to send message: %v",
err,
)
os.Exit(1)
}
Is that possible that I can get the "parentMessageId", so next time in my code, I can have my logic, i can do "reply" the same message thread, rather than create a new message.
The text was updated successfully, but these errors were encountered:
@Alansyf: Is that possible that I can get the "parentMessageId", so next time in my code, I can have my logic, i can do "reply" the same message thread, rather than create a new message.
Unfortunately, I'm not aware of a way to make this work.
The current implementation uses a webhook to deliver a message. While the remote endpoint accepts the message and confirms receipt, it doesn't provide a message ID in the response.
This said, if you come across a way to perform the action that we can implement in this library I'm interested in adding it.
Hi
I am using below sample code and it will work.
Is that possible that I can get the "parentMessageId", so next time in my code, I can have my logic, i can do "reply" the same message thread, rather than create a new message.
The text was updated successfully, but these errors were encountered: