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.68.0 UPGRADE.md
twilio-ruby-5.67.3 UPGRADE.md
twilio-ruby-5.67.2 UPGRADE.md
twilio-ruby-5.67.1 UPGRADE.md
twilio-ruby-5.67.0 UPGRADE.md
twilio-ruby-5.66.2 UPGRADE.md
twilio-ruby-5.66.1 UPGRADE.md
twilio-ruby-5.66.0 UPGRADE.md
twilio-ruby-5.65.1 UPGRADE.md
twilio-ruby-5.65.0 UPGRADE.md
twilio-ruby-5.64.0 UPGRADE.md
twilio-ruby-5.63.1 UPGRADE.md
twilio-ruby-5.63.0 UPGRADE.md
twilio-ruby-5.62.0 UPGRADE.md
twilio-ruby-5.61.2 UPGRADE.md
twilio-ruby-5.61.1 UPGRADE.md
twilio-ruby-5.61.0 UPGRADE.md
twilio-ruby-5.60.0 UPGRADE.md
twilio-ruby-5.59.0 UPGRADE.md
twilio-ruby-5.58.3 UPGRADE.md