lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb in twilio-ruby-5.0.0.rc16 vs lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb in twilio-ruby-5.0.0.rc17
- old
+ new
@@ -31,14 +31,16 @@
##
# Retrieve a single page of MessageInstance records from the API.
# Request is executed immediately.
# @param [String] body The body
# @param [String] from The from
+ # @param [String] attributes The attributes
# @return [MessageInstance] Newly created MessageInstance
- def create(body: nil, from: nil)
+ def create(body: nil, from: nil, attributes: nil)
data = {
'Body' => body,
'From' => from,
+ 'Attributes' => attributes,
}
payload = @version.create(
'POST',
@uri,
\ No newline at end of file