Sending an editable bot message is described wrong in the docs


#1

Following this:

It tells you how to make a message editable.

This payload fails with th response:

{"message":"Invalid event for editable content. Editable only support SendHttpMsg, current event is :sendMsg","code":7001}

Then, if you add the missing event attribute like asked, it is not getting better:

       {
        "type": "message",
        "text": "ZOOM-1000 New Bot message edit Feature",
        "editable": true,
        "event_id": "Title_Msg_Edit",
        "event": "SendHttpMsg"
    },

you receive

{"message":"Invalid event for editable content. Editable only support SendHttpMsg, current event is :SendHttpMsg","code":7001}

so you have to know that the event always starts with a lower case letter.

       {
        "type": "message",
        "text": "ZOOM-1000 New Bot message edit Feature",
        "editable": true,
        "event_id": "Title_Msg_Edit",
        "event": "sendHttpMsg"
    },

works without an error, but the editing gets stuck on save:

image

without anything happening.

Please review and correct/complete the docs and correct the error message with a lower case “s” also.


#2

Hi @Bernd_Gewehr,

Thanks for your suggestions we’ve updated the docs and are currently looking into why its getting stuck on save.