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.58.2 UPGRADE.md
twilio-ruby-5.58.1 UPGRADE.md
twilio-ruby-5.58.0 UPGRADE.md
twilio-ruby-5.57.1 UPGRADE.md
twilio-ruby-5.57.0 UPGRADE.md
twilio-ruby-5.56.0 UPGRADE.md
twilio-ruby-5.55.0 UPGRADE.md
twilio-ruby-5.54.1 UPGRADE.md
twilio-ruby-5.54.0 UPGRADE.md
twilio-ruby-5.53.0 UPGRADE.md
twilio-ruby-5.52.0 UPGRADE.md
twilio-ruby-5.51.0 UPGRADE.md
twilio-ruby-5.50.0 UPGRADE.md
twilio-ruby-5.49.0 UPGRADE.md
twilio-ruby-5.48.0 UPGRADE.md
twilio-ruby-5.47.0 UPGRADE.md
twilio-ruby-5.46.1 UPGRADE.md
twilio-ruby-5.46.0 UPGRADE.md
twilio-ruby-5.45.1 UPGRADE.md
twilio-ruby-5.45.0 UPGRADE.md