update
fun WelcomeMessages.update( id: String, messageData: JsonObject, vararg options: Option): JsonObjectApiAction<WelcomeMessage.Single>
Content copied to clipboard
Updates a Welcome Message by the given ID. Updates to the welcome_message object are atomic. For example, if the Welcome Message currently has quick_reply defined and you only provide text, the quick_reply object will be removed from the Welcome Message.
Receiver
WelcomeMessages endpoint instance.
Return
JsonObjectApiAction for WelcomeMessage.Single model.
Parameters
id
The id of the Welcome Message that should be updated.
message Data
The Message Data Object defining the content of the message template. See POST direct_messages/events/new (message_create) for Message Data object details.
options
Optional. Custom parameters of this request.