Forward a message from one thread to another(API BAAZ-14320)
Conversation: Go to API POST /{toUserId}/chats/conversation/messages
Positive Scenarios
Negative scenarios
Discussion Go to API POST /chats/{threadId}/messages
Positive scenarios
Negative scenarios
Type forward_id parameter that should take the id of the message being forwarded
Try to forward a message that member doesn't have access to it
Try to forward message as a user who leaved the discussion
If user types forward_id and add any additional parameter:: ❎photo _id, ❎video: ❎ text : ❎url : Validation message appear
Try to forward message from the leaved discussion to a conversation
The contents of the newly created message are the same as the original one
The forwarded message is store in DB (not accessible via API) the id of the original message (kind of a pointer to original message)
The member that is forwarding should be the author of the forwarded message
Message appears in the destination thread, as if it was created by the forwarding member
Validation message appear
Validation message appeaer
User is not able to forward this message
Validation message should appear
Validation message should appear
Type forward_id parameter that should take the id of the message being forwarded ✅video-url, ❎photo ❎text ❎
The forwarded message is store in DB (not accessible via API) the id of the original message (kind of a pointer to original message)
Message appears in the destination thread, as if it was created by the forwarding member
The member that is forwarding should be the author of the forwarded message
The contents of the newly created message are the same as the original one
Try to forward a message that member doesn't have access to it
If user types forward_id and add any additional parameter:: ❎photo _id, ❎video: ❎ text : ❎url : Validation message appear
Validation message appeaer
User is not able to forward this message
Try to forward two messages in one call
Validation message appear
User is not able to forward two messages in one call