Sha256: 8452bc4d563a2176d8b0d3bc9b081e40e75b85285d0337a6927a365180be027e
Contents?: true
Size: 776 Bytes
Versions: 160
Compression:
Stored size: 776 Bytes
Contents
# Upgrade Guide _After `5.0.0` all `MINOR` and `MAJOR` version bumps will have upgrade notes posted here._ [2017-09-29] 5.x.x to 5.3.x --------------------------- ### CHANGED - `Body` parameter on Chat `Message` creation is no longer required. #### Rationale This was changed to add support for sending media in Chat messages, users can now either provide a `body` or a `media_sid`. #### 5.x.x ```ruby require 'twilio-ruby' @client = Twilio::REST::Client.new "AC123", "auth" @client.chat.v2.service('IS123').channel('CH123').message.create("this is the body", "from") ``` #### 5.3.x ```ruby require 'twilio-ruby' @client = Twilio::REST::Client.new "AC123", "auth" @client.chat.v2.service('IS123').channel('CH123').message.create("from", body:"this is the body") ```
Version data entries
160 entries across 160 versions & 1 rubygems