optns
https://w1.nandbox.net/update-message
Use this message to update an existing message. On success, the sent message is returned with the status 'updated'.
| Field | Type | Required | Description |
|---|---|---|---|
| method | String | Yes | "updateMessage" |
| message_id | String | Yes | Old message ID that you want to edit it |
| reference | Long | Yes | Unique local identifier for the target chat/user |
| text | String | Conditional | Only use if you want to update Message has type of "text" |
| caption | String | Conditional | Only use if you want to update Message has type of other than "text" e.g. photo, video, audio,..etc. |
| chat_id | String | Yes | Unique identifier for the target chat or User_id |
| to_user_id | String | Optional | if reply or send message to target user within a group chat or channel, unique identifier of the target user. |
| menu_ref | String | Optional | Menu reference for existing predefined Menu. The menu will be displayed as inline menu associated to the message. To hide the inline menu from message set menu_ref to empty String . |
| inline_menu | Array of Menu | Optional | Inline menu object to hold menus. Previous menu will be dropped and replaced by the updated one.If both inline_menu and menu_ref is defined. Priority for inline_menu unless menu_ref is set to empty String . |
