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.33.0 UPGRADE.md
twilio-ruby-5.32.0 UPGRADE.md
twilio-ruby-5.31.6 UPGRADE.md
twilio-ruby-5.31.5 UPGRADE.md
twilio-ruby-5.31.4 UPGRADE.md
twilio-ruby-5.31.3 UPGRADE.md
twilio-ruby-5.31.2 UPGRADE.md
twilio-ruby-5.31.1 UPGRADE.md
twilio-ruby-5.31.0 UPGRADE.md
twilio-ruby-5.30.0 UPGRADE.md
twilio-ruby-5.29.1 UPGRADE.md
twilio-ruby-5.29.0 UPGRADE.md
twilio-ruby-5.28.0 UPGRADE.md
twilio-ruby-5.27.1 UPGRADE.md
twilio-ruby-5.27.0 UPGRADE.md
twilio-ruby-5.26.0 UPGRADE.md
twilio-ruby-5.25.4 UPGRADE.md
twilio-ruby-5.25.3 UPGRADE.md
twilio-ruby-5.25.2 UPGRADE.md
twilio-ruby-5.25.1 UPGRADE.md