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

Version Path
twilio-ruby-5.77.0 UPGRADE.md
twilio-ruby-5.76.0 UPGRADE.md
twilio-ruby-5.75.0 UPGRADE.md
twilio-ruby-5.74.5 UPGRADE.md
twilio-ruby-5.74.4 UPGRADE.md
twilio-ruby-5.74.3 UPGRADE.md
twilio-ruby-5.74.2 UPGRADE.md
twilio-ruby-5.74.1 UPGRADE.md
twilio-ruby-5.74.0 UPGRADE.md
twilio-ruby-5.73.4 UPGRADE.md
twilio-ruby-5.73.3 UPGRADE.md
twilio-ruby-5.73.2 UPGRADE.md
twilio-ruby-5.73.1 UPGRADE.md
twilio-ruby-5.73.0 UPGRADE.md
twilio-ruby-5.72.1 UPGRADE.md
twilio-ruby-5.72.0 UPGRADE.md
twilio-ruby-5.71.0 UPGRADE.md
twilio-ruby-5.70.1 UPGRADE.md
twilio-ruby-5.70.0 UPGRADE.md
twilio-ruby-5.69.0 UPGRADE.md