messente_api 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +13 -13
  3. data/README.md +1 -1
  4. data/docs/BulkMessagingApi.md +1 -1
  5. data/docs/OmnimessageApi.md +1 -1
  6. data/docs/OmnimessageMessagesInner.md +46 -45
  7. data/docs/Rcs.md +32 -0
  8. data/docs/RcsCardContent.md +24 -0
  9. data/docs/RcsCardOrientation.md +15 -0
  10. data/docs/RcsCardWidth.md +15 -0
  11. data/docs/RcsCarouselCard.md +20 -0
  12. data/docs/RcsContentInfo.md +22 -0
  13. data/docs/RcsCreateCalendarEventAction.md +24 -0
  14. data/docs/RcsDialAction.md +18 -0
  15. data/docs/RcsImageAlignment.md +15 -0
  16. data/docs/RcsLatLng.md +20 -0
  17. data/docs/RcsMedia.md +20 -0
  18. data/docs/RcsMediaHeight.md +15 -0
  19. data/docs/RcsOpenUrlAction.md +24 -0
  20. data/docs/RcsOpenUrlApplication.md +15 -0
  21. data/docs/RcsRichCard.md +20 -0
  22. data/docs/RcsStandaloneCard.md +22 -0
  23. data/docs/RcsSuggestedAction.md +32 -0
  24. data/docs/RcsSuggestedReply.md +20 -0
  25. data/docs/RcsSuggestion.md +20 -0
  26. data/docs/RcsViewLocationAction.md +22 -0
  27. data/docs/RcsWebviewViewMode.md +15 -0
  28. data/docs/StatisticsReportSettings.md +1 -1
  29. data/lib/messente_api/models/channel.rb +2 -2
  30. data/lib/messente_api/models/omnimessage_messages_inner.rb +8 -9
  31. data/lib/messente_api/models/{telegram.rb → rcs.rb} +97 -42
  32. data/lib/messente_api/models/rcs_card_content.rb +298 -0
  33. data/lib/messente_api/models/rcs_card_orientation.rb +40 -0
  34. data/lib/messente_api/models/rcs_card_width.rb +40 -0
  35. data/lib/messente_api/models/rcs_carousel_card.rb +291 -0
  36. data/lib/messente_api/models/rcs_content_info.rb +251 -0
  37. data/lib/messente_api/models/rcs_create_calendar_event_action.rb +312 -0
  38. data/lib/messente_api/models/rcs_dial_action.rb +223 -0
  39. data/lib/messente_api/models/rcs_image_alignment.rb +40 -0
  40. data/lib/messente_api/models/rcs_lat_lng.rb +240 -0
  41. data/lib/messente_api/models/rcs_media.rb +260 -0
  42. data/lib/messente_api/models/rcs_media_height.rb +41 -0
  43. data/lib/messente_api/models/rcs_open_url_action.rb +299 -0
  44. data/lib/messente_api/models/rcs_open_url_application.rb +40 -0
  45. data/lib/messente_api/models/rcs_rich_card.rb +224 -0
  46. data/lib/messente_api/models/rcs_standalone_card.rb +276 -0
  47. data/lib/messente_api/models/rcs_suggested_action.rb +350 -0
  48. data/lib/messente_api/models/rcs_suggested_reply.rb +278 -0
  49. data/lib/messente_api/models/rcs_suggestion.rb +224 -0
  50. data/lib/messente_api/models/rcs_view_location_action.rb +237 -0
  51. data/lib/messente_api/models/rcs_webview_view_mode.rb +41 -0
  52. data/lib/messente_api/models/statistics_report_settings.rb +1 -1
  53. data/lib/messente_api/version.rb +1 -1
  54. data/lib/messente_api.rb +21 -1
  55. metadata +44 -4
  56. data/docs/Telegram.md +0 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a3e94c8188f57b4554dbf1a855cf1754104f131472ddb22f0801c4afe71fec3
4
- data.tar.gz: f105f2f18aedd0488d7c62ad7a2226a783a93028d7ef312229ba3b56c72c48f1
3
+ metadata.gz: 8d6627669fd5f0a81c7f8a6880505326e603be8f70f8e4a0c568c1d4d2074405
4
+ data.tar.gz: 3f51f1ac79d02eeb1590dc681ddf9660ba56b51b85d9c8483727ece954feef43
5
5
  SHA512:
6
- metadata.gz: fe37dbd334cb8b0c32b76fe3aa0e0a68975a04d55a6d66dd6f702298804362dbed7d815cb2fd9834956535f454d6128f3623e9e8ce79b4f40e1db91932e60e39
7
- data.tar.gz: 983823e1373e348f9aa338c1470a9214563078ed5bd0bb692c2f81fd23ed66840ddb7471f58bbf57e64babc4c44fcbb1dfa73fe17d304c021f6e03576bb0b10b
6
+ metadata.gz: 347a904c0b8973e7dbd6c74e1dcb8e31d7458ac569d986cb954dae5ad869c1356f145f16fed89a3de78352ad07ae4f2314e889fbe15bf891ce3966a536887286
7
+ data.tar.gz: 07c26b43df889c47d0af38d3e7541e9cc81ed682208943685690c88295a15f428777aba19868d24f29b3a2cc36c24bfd6a6fba9d43c559f3904c8b09a2a09f79
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messente_api (2.4.1)
4
+ messente_api (2.5.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -10,15 +10,15 @@ GEM
10
10
  ast (2.4.3)
11
11
  byebug (12.0.0)
12
12
  coderay (1.1.3)
13
- date (3.4.1)
13
+ date (3.5.1)
14
14
  diff-lcs (1.6.2)
15
- ethon (0.16.0)
15
+ ethon (0.15.0)
16
16
  ffi (>= 1.15.0)
17
- ffi (1.17.2-x86_64-linux-gnu)
17
+ ffi (1.17.3-x86_64-linux-gnu)
18
18
  jaro_winkler (1.5.6)
19
19
  method_source (1.1.0)
20
20
  parallel (1.27.0)
21
- parser (3.3.9.0)
21
+ parser (3.3.10.0)
22
22
  ast (~> 2.4.1)
23
23
  racc
24
24
  pry (0.15.2)
@@ -27,25 +27,25 @@ GEM
27
27
  pry-byebug (3.11.0)
28
28
  byebug (~> 12.0)
29
29
  pry (>= 0.13, < 0.16)
30
- psych (5.2.6)
30
+ psych (5.3.1)
31
31
  date
32
32
  stringio
33
33
  racc (1.8.1)
34
34
  rainbow (3.1.1)
35
35
  rake (13.0.6)
36
- rspec (3.13.1)
36
+ rspec (3.13.2)
37
37
  rspec-core (~> 3.13.0)
38
38
  rspec-expectations (~> 3.13.0)
39
39
  rspec-mocks (~> 3.13.0)
40
- rspec-core (3.13.5)
40
+ rspec-core (3.13.6)
41
41
  rspec-support (~> 3.13.0)
42
42
  rspec-expectations (3.13.5)
43
43
  diff-lcs (>= 1.2.0, < 2.0)
44
44
  rspec-support (~> 3.13.0)
45
- rspec-mocks (3.13.5)
45
+ rspec-mocks (3.13.7)
46
46
  diff-lcs (>= 1.2.0, < 2.0)
47
47
  rspec-support (~> 3.13.0)
48
- rspec-support (3.13.4)
48
+ rspec-support (3.13.6)
49
49
  rubocop (0.66.0)
50
50
  jaro_winkler (~> 1.5.1)
51
51
  parallel (~> 1.10)
@@ -55,9 +55,9 @@ GEM
55
55
  ruby-progressbar (~> 1.7)
56
56
  unicode-display_width (>= 1.4.0, < 1.6)
57
57
  ruby-progressbar (1.13.0)
58
- stringio (3.1.7)
59
- typhoeus (1.4.1)
60
- ethon (>= 0.9.0)
58
+ stringio (3.2.0)
59
+ typhoeus (1.5.0)
60
+ ethon (>= 0.9.0, < 0.16.0)
61
61
  unicode-display_width (1.5.0)
62
62
 
63
63
  PLATFORMS
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Messente API Library
2
2
 
3
3
  - Messente API version: 2.0.0
4
- - Ruby gem version: 2.4.1
4
+ - Ruby gem version: 2.5.0
5
5
 
6
6
  [Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you&#39;re not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
7
7
 
@@ -26,7 +26,7 @@ MessenteApi.configure do |config|
26
26
  end
27
27
 
28
28
  api_instance = MessenteApi::BulkMessagingApi.new
29
- bulk_omnimessage = MessenteApi::BulkOmnimessage.new({messages: [MessenteApi::Omnimessage.new({to: 'to_example', messages: [MessenteApi::SMS.new({text: 'Hello world!'})]})]}) # BulkOmnimessage | Bulk Omnimessage to be sent
29
+ bulk_omnimessage = MessenteApi::BulkOmnimessage.new({messages: [MessenteApi::Omnimessage.new({to: 'to_example', messages: [MessenteApi::OmnimessageMessagesInner.new({sender: 'sender_example', text: 'text_example'})]})]}) # BulkOmnimessage | Bulk Omnimessage to be sent
30
30
 
31
31
  begin
32
32
  # Sends a bulk Omnimessage
@@ -95,7 +95,7 @@ MessenteApi.configure do |config|
95
95
  end
96
96
 
97
97
  api_instance = MessenteApi::OmnimessageApi.new
98
- omnimessage = MessenteApi::Omnimessage.new({to: 'to_example', messages: [MessenteApi::SMS.new({text: 'Hello world!'})]}) # Omnimessage | Omnimessage to be sent
98
+ omnimessage = MessenteApi::Omnimessage.new({to: 'to_example', messages: [MessenteApi::OmnimessageMessagesInner.new({sender: 'sender_example', text: 'text_example'})]}) # Omnimessage | Omnimessage to be sent
99
99
 
100
100
  begin
101
101
  # Sends an Omnimessage
@@ -1,53 +1,54 @@
1
1
  # MessenteApi::OmnimessageMessagesInner
2
2
 
3
- ## Class instance methods
4
-
5
- ### `openapi_one_of`
6
-
7
- Returns the list of classes defined in oneOf.
8
-
9
- #### Example
10
-
11
- ```ruby
12
- require 'messente_api'
13
-
14
- MessenteApi::OmnimessageMessagesInner.openapi_one_of
15
- # =>
16
- # [
17
- # :'SMS',
18
- # :'Telegram',
19
- # :'Viber',
20
- # :'WhatsApp'
21
- # ]
22
- ```
23
-
24
- ### build
25
-
26
- Find the appropriate object from the `openapi_one_of` list and casts the data into it.
27
-
28
- #### Example
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sender** | **String** | Phone number or alphanumeric sender name | |
8
+ | **validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted.Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used. | [optional] |
9
+ | **ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used. | [optional] |
10
+ | **text** | **String** | Text content of the RCS message | |
11
+ | **image_url** | **String** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional] |
12
+ | **button_url** | **String** | URL of the button, must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_text&#39;&#39; and &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
13
+ | **button_text** | **String** | Must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_url&#39;&#39;, &#39;&#39;button_text&#39;&#39;, &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
14
+ | **channel** | **String** | The channel used to deliver the message | [optional][default to &#39;rcs&#39;] |
15
+ | **video** | [**WhatsAppVideo**](WhatsAppVideo.md) | | [optional] |
16
+ | **autoconvert** | **String** | Defines how non-GSM characters will be treated: - \&quot;on\&quot; Use replacement settings from the account&#39;s [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \&quot;full\&quot; All non GSM 03.38 characters will be replaced with suitable alternatives - \&quot;off\&quot; Message content is not modified in any way | [optional] |
17
+ | **udh** | **String** | hex-encoded string containing SMS UDH | [optional] |
18
+ | **template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional] |
19
+ | **image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional] |
20
+ | **audio** | [**WhatsAppAudio**](WhatsAppAudio.md) | | [optional] |
21
+ | **document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional] |
22
+ | **sticker** | [**WhatsAppSticker**](WhatsAppSticker.md) | | [optional] |
23
+ | **suggestions** | [**Array&lt;RcsSuggestion&gt;**](RcsSuggestion.md) | List of suggestions to include with the message | [optional] |
24
+ | **rich_card** | [**RcsRichCard**](RcsRichCard.md) | | [optional] |
25
+ | **content_info** | [**RcsContentInfo**](RcsContentInfo.md) | | [optional] |
26
+
27
+ ## Example
29
28
 
30
29
  ```ruby
31
30
  require 'messente_api'
32
31
 
33
- MessenteApi::OmnimessageMessagesInner.build(data)
34
- # => #<SMS:0x00007fdd4aab02a0>
35
-
36
- MessenteApi::OmnimessageMessagesInner.build(data_that_doesnt_match)
37
- # => nil
32
+ instance = MessenteApi::OmnimessageMessagesInner.new(
33
+ sender: null,
34
+ validity: 360,
35
+ ttl: 21600,
36
+ text: null,
37
+ image_url: null,
38
+ button_url: null,
39
+ button_text: null,
40
+ channel: null,
41
+ video: null,
42
+ autoconvert: null,
43
+ udh: null,
44
+ template: null,
45
+ image: null,
46
+ audio: null,
47
+ document: null,
48
+ sticker: null,
49
+ suggestions: null,
50
+ rich_card: null,
51
+ content_info: null
52
+ )
38
53
  ```
39
54
 
40
- #### Parameters
41
-
42
- | Name | Type | Description |
43
- | ---- | ---- | ----------- |
44
- | **data** | **Mixed** | data to be matched against the list of oneOf items |
45
-
46
- #### Return type
47
-
48
- - `SMS`
49
- - `Telegram`
50
- - `Viber`
51
- - `WhatsApp`
52
- - `nil` (if no type matches)
53
-
data/docs/Rcs.md ADDED
@@ -0,0 +1,32 @@
1
+ # MessenteApi::Rcs
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **channel** | **String** | The channel used to deliver the message | [optional][default to &#39;rcs&#39;] |
8
+ | **sender** | **String** | Phone number or alphanumeric sender name | |
9
+ | **validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted.Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used. | [optional] |
10
+ | **ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used. | [optional] |
11
+ | **text** | **String** | Text content of the RCS message | [optional] |
12
+ | **suggestions** | [**Array&lt;RcsSuggestion&gt;**](RcsSuggestion.md) | List of suggestions to include with the message | [optional] |
13
+ | **rich_card** | [**RcsRichCard**](RcsRichCard.md) | | [optional] |
14
+ | **content_info** | [**RcsContentInfo**](RcsContentInfo.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'messente_api'
20
+
21
+ instance = MessenteApi::Rcs.new(
22
+ channel: null,
23
+ sender: null,
24
+ validity: 360,
25
+ ttl: 21600,
26
+ text: null,
27
+ suggestions: null,
28
+ rich_card: null,
29
+ content_info: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,24 @@
1
+ # MessenteApi::RcsCardContent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **title** | **String** | Title of the card content | [optional] |
8
+ | **description** | **String** | Description of the card content | [optional] |
9
+ | **media** | [**RcsMedia**](RcsMedia.md) | | [optional] |
10
+ | **suggestions** | [**Array&lt;RcsSuggestion&gt;**](RcsSuggestion.md) | List of suggestions that the recipient can use to respond. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'messente_api'
16
+
17
+ instance = MessenteApi::RcsCardContent.new(
18
+ title: null,
19
+ description: null,
20
+ media: null,
21
+ suggestions: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::RcsCardOrientation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::RcsCardOrientation.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::RcsCardWidth
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::RcsCardWidth.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsCarouselCard
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **card_width** | [**RcsCardWidth**](RcsCardWidth.md) | | |
8
+ | **card_contents** | [**Array&lt;RcsCardContent&gt;**](RcsCardContent.md) | The contents of the carousel card. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsCarouselCard.new(
16
+ card_width: null,
17
+ card_contents: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # MessenteApi::RcsContentInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **file_url** | **String** | Required file URL | |
8
+ | **thumbnail_url** | **String** | Optional thumbnail URL | [optional] |
9
+ | **force_refresh** | **Boolean** | Force refresh the content | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'messente_api'
15
+
16
+ instance = MessenteApi::RcsContentInfo.new(
17
+ file_url: null,
18
+ thumbnail_url: null,
19
+ force_refresh: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # MessenteApi::RcsCreateCalendarEventAction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **start_time** | **String** | The start time of the event. | |
8
+ | **end_time** | **String** | The end time of the event. | |
9
+ | **title** | **String** | The title of the event. | |
10
+ | **description** | **String** | The description of the event. | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'messente_api'
16
+
17
+ instance = MessenteApi::RcsCreateCalendarEventAction.new(
18
+ start_time: null,
19
+ end_time: null,
20
+ title: null,
21
+ description: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # MessenteApi::RcsDialAction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **phone_number** | **String** | The phone number to dial in E.164 format. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'messente_api'
13
+
14
+ instance = MessenteApi::RcsDialAction.new(
15
+ phone_number: +442071838750
16
+ )
17
+ ```
18
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::RcsImageAlignment
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::RcsImageAlignment.new()
14
+ ```
15
+
data/docs/RcsLatLng.md ADDED
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsLatLng
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **latitude** | **Float** | The latitude coordinate. | |
8
+ | **longitude** | **Float** | The longitude coordinate. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsLatLng.new(
16
+ latitude: null,
17
+ longitude: null
18
+ )
19
+ ```
20
+
data/docs/RcsMedia.md ADDED
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsMedia
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **height** | [**RcsMediaHeight**](RcsMediaHeight.md) | | |
8
+ | **content_info** | [**RcsContentInfo**](RcsContentInfo.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsMedia.new(
16
+ height: null,
17
+ content_info: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::RcsMediaHeight
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::RcsMediaHeight.new()
14
+ ```
15
+
@@ -0,0 +1,24 @@
1
+ # MessenteApi::RcsOpenUrlAction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **url** | **String** | The URL to open. | |
8
+ | **description** | **String** | A description of the URL being opened. | [optional] |
9
+ | **application** | [**RcsOpenUrlApplication**](RcsOpenUrlApplication.md) | | |
10
+ | **webview_view_mode** | [**RcsWebviewViewMode**](RcsWebviewViewMode.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'messente_api'
16
+
17
+ instance = MessenteApi::RcsOpenUrlAction.new(
18
+ url: null,
19
+ description: null,
20
+ application: null,
21
+ webview_view_mode: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::RcsOpenUrlApplication
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::RcsOpenUrlApplication.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsRichCard
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **standalone_card** | [**RcsStandaloneCard**](RcsStandaloneCard.md) | | [optional] |
8
+ | **carousel_card** | [**RcsCarouselCard**](RcsCarouselCard.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsRichCard.new(
16
+ standalone_card: null,
17
+ carousel_card: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # MessenteApi::RcsStandaloneCard
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **card_orientation** | [**RcsCardOrientation**](RcsCardOrientation.md) | | |
8
+ | **thumbnail_image_alignment** | [**RcsImageAlignment**](RcsImageAlignment.md) | | |
9
+ | **card_content** | [**RcsCardContent**](RcsCardContent.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'messente_api'
15
+
16
+ instance = MessenteApi::RcsStandaloneCard.new(
17
+ card_orientation: null,
18
+ thumbnail_image_alignment: null,
19
+ card_content: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,32 @@
1
+ # MessenteApi::RcsSuggestedAction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | The text of the suggested action. Exactly one of the action fields (types) must be provided. | |
8
+ | **postback_data** | **String** | The postback data associated with the suggested action. This is sent back to the sender when the user selects the suggested action. | |
9
+ | **fallback_url** | **String** | The fallback URL to open if the suggested action is not supported. | [optional] |
10
+ | **dial_action** | [**RcsDialAction**](RcsDialAction.md) | | [optional] |
11
+ | **view_location_action** | [**RcsViewLocationAction**](RcsViewLocationAction.md) | | [optional] |
12
+ | **create_calendar_event_action** | [**RcsCreateCalendarEventAction**](RcsCreateCalendarEventAction.md) | | [optional] |
13
+ | **open_url_action** | [**RcsOpenUrlAction**](RcsOpenUrlAction.md) | | [optional] |
14
+ | **share_location_action** | **Object** | This action does not have any properties. It simply triggers the share location action. | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'messente_api'
20
+
21
+ instance = MessenteApi::RcsSuggestedAction.new(
22
+ text: null,
23
+ postback_data: null,
24
+ fallback_url: null,
25
+ dial_action: null,
26
+ view_location_action: null,
27
+ create_calendar_event_action: null,
28
+ open_url_action: null,
29
+ share_location_action: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsSuggestedReply
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | The text of the suggested reply. | |
8
+ | **postback_data** | **String** | The postback data associated with the suggested reply. This is sent back to the sender when the user selects the suggested reply. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsSuggestedReply.new(
16
+ text: null,
17
+ postback_data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::RcsSuggestion
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **reply** | [**RcsSuggestedReply**](RcsSuggestedReply.md) | | [optional] |
8
+ | **action** | [**RcsSuggestedAction**](RcsSuggestedAction.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::RcsSuggestion.new(
16
+ reply: null,
17
+ action: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # MessenteApi::RcsViewLocationAction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **lat_long** | [**RcsLatLng**](RcsLatLng.md) | | [optional] |
8
+ | **label** | **String** | The label of the pin dropped at latLong. | [optional] |
9
+ | **query** | **String** | (Optional, only supported on Android Messages clients) Instead of specifying a latLong (and optionally, a label), the agent can specify a query string. For default map apps that support search functionality (including Google Maps), tapping this suggested action results in a location search centered around the user&#39;s current location. For instance, setting the query string to \&quot;Growing Tree Bank\&quot; will show all Growing Tree Bank locations in the user&#39;s vicinity. Setting the query string to \&quot;1600 Amphitheater Parkway, Mountain View, CA 94043\&quot; will select that specific address, regardless of the user&#39;s location. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'messente_api'
15
+
16
+ instance = MessenteApi::RcsViewLocationAction.new(
17
+ lat_long: null,
18
+ label: null,
19
+ query: null
20
+ )
21
+ ```
22
+