Sha256: 118677dd5c9981df601d5a22729d6131d56175b2d71eed4afb40abf562e084fb

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

# MessenteApi::Viber

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **sender** | **String** | Phone number or alphanumeric sender name | [optional] |
| **validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted.       Only one of \"ttl\" and \"validity\" can be used. | [optional] |
| **ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted.       Only one of \"ttl\" and \"validity\" can be used. | [optional] |
| **text** | **String** | Plaintext content for Viber | [optional] |
| **image_url** | **String** | URL for the embedded image    Valid combinations:    1) image_url,    2) text, image_url, button_url, button_text | [optional] |
| **button_url** | **String** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional] |
| **button_text** | **String** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional] |
| **channel** | **String** | The channel used to deliver the message | [optional][default to 'viber'] |

## Example

```ruby
require 'messente_api'

instance = MessenteApi::Viber.new(
  sender: null,
  validity: 360,
  ttl: 21600,
  text: null,
  image_url: null,
  button_url: null,
  button_text: null,
  channel: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
messente_api-2.1.0 docs/Viber.md