🐞 Failed /message/{{ $json.id }}/update on @newsletter | Caption Removed #220
willianjack0
announced in
Announcements
Replies: 1 comment 1 reply
-
you cannot update caption using that endpoint |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I'm encountering an unexpected behavior when updating a message. Upon successfully sending an image with a caption using the /send/image endpoint, subsequent updates to the message via the /message/{message_id}/update endpoint result in the complete removal of the original caption, even though the request body only includes a modification to the 'message' field.
Expected Behavior:
The updated message should update the original caption while only changing to the text specified in the 'message' field.
Actual Behavior:
The original caption is completely removed, leaving the image whitout caption.
Notes:
The /message/{message_id}/update endpoint currently only supports updating the 'message' field and does not acept the 'caption' attribute.
Reproduction Steps
Relevant log output
Screenshots or Additional Context
No response
Application Version
v4.21.1
Verification
Beta Was this translation helpful? Give feedback.
All reactions