Method: Twilio::REST::Chat::V1::ServiceContext::ChannelContext::MessageContext#delete

Defined in:
lib/twilio-ruby/rest/chat/v1/service/channel/message.rb

#deleteBoolean

Delete the MessageInstance

Returns:

  • (Boolean)

    True if delete succeeds, false otherwise



257
258
259
260
261
262
263
264
265
# File 'lib/twilio-ruby/rest/chat/v1/service/channel/message.rb', line 257

def delete

    headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
    
    
    

    @version.delete('DELETE', @uri, headers: headers)
end