docs/Telegram.md in messente_api-1.4.0 vs docs/Telegram.md in messente_api-2.1.0

- old
+ new

@@ -1,29 +1,30 @@ # MessenteApi::Telegram ## 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 | [optional] -**text** | **String** | Plaintext content for Telegram | [optional] -**image_url** | **String** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional] -**document_url** | **String** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional] -**audio_url** | **String** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional] -**channel** | **String** | The channel used to deliver the message | [optional] [default to 'telegram'] +| 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 | [optional] | +| **text** | **String** | Plaintext content for Telegram | [optional] | +| **image_url** | **String** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional] | +| **document_url** | **String** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional] | +| **audio_url** | **String** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional] | +| **channel** | **String** | The channel used to deliver the message | [optional][default to 'telegram'] | -## Code Sample +## Example ```ruby -require 'MessenteApi' +require 'messente_api' -instance = MessenteApi::Telegram.new(sender: null, - validity: 360, - text: null, - image_url: null, - document_url: null, - audio_url: null, - channel: null) +instance = MessenteApi::Telegram.new( + sender: null, + validity: 360, + text: null, + image_url: null, + document_url: null, + audio_url: null, + channel: null +) ``` -