From 4254e605da7f9422b7056d6557baecfb0b332f77 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 7 Jun 2019 09:20:00 +0000 Subject: [PATCH 1/5] Travis update: Jun 2019 (Build 280) [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 003e0d0..935dcf2 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ namespace Example ## License -[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) +[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html) ## Terms From d0ac64683296f817b062512c15ea7ae1dd4933b6 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 7 Jun 2019 09:26:42 +0000 Subject: [PATCH 2/5] Travis update: Jun 2019 (Build 281) [skip ci] --- docs/BlacklistApi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/BlacklistApi.md b/docs/BlacklistApi.md index ac54b60..7bbbe7c 100644 --- a/docs/BlacklistApi.md +++ b/docs/BlacklistApi.md @@ -97,7 +97,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new BlacklistApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number try { @@ -218,7 +218,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new BlacklistApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number try { From 66742bb31860bb82f76b30854849cbc41c9aa9fc Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 7 Jun 2019 11:36:46 +0000 Subject: [PATCH 3/5] Travis update: Jun 2019 (Build 285) [skip ci] --- docs/ContactsApi.md | 16 ++++++++-------- docs/GroupsApi.md | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index 58c6bd2..584d102 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -39,8 +39,8 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var groupId = groupId_example; // string | String in UUID format - var phone = phone_example; // string | A phone number + var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format + var phone = +37251000000; // string | A phone number try { @@ -167,7 +167,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number try { @@ -229,7 +229,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number try { @@ -292,7 +292,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number try { @@ -418,8 +418,8 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var groupId = groupId_example; // string | String in UUID format - var phone = phone_example; // string | A phone number + var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format + var phone = +37251000000; // string | A phone number try { @@ -482,7 +482,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new ContactsApi(); - var phone = phone_example; // string | A phone number + var phone = +37251000000; // string | A phone number var contactUpdateFields = new ContactUpdateFields(); // ContactUpdateFields | try diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 12030cc..2c47dcc 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -99,7 +99,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new GroupsApi(); - var groupId = groupId_example; // string | String in UUID format + var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format try { @@ -161,7 +161,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new GroupsApi(); - var groupId = groupId_example; // string | String in UUID format + var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format try { @@ -283,7 +283,7 @@ namespace Example Configuration.Default.Password = "YOUR_PASSWORD"; var apiInstance = new GroupsApi(); - var groupId = groupId_example; // string | String in UUID format + var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format var groupName = new GroupName(); // GroupName | try From 268e9ac521759edc72840a8d5b322aeda5ece7b6 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 23 Aug 2019 07:47:51 +0000 Subject: [PATCH 4/5] Travis update: Aug 2019 (Build 430) [skip ci] --- README.md | 2 +- docs/Telegram.md | 15 ++ src/com.Messente.Api/Api/BlacklistApi.cs | 2 +- src/com.Messente.Api/Api/ContactsApi.cs | 2 +- src/com.Messente.Api/Api/DeliveryReportApi.cs | 2 +- src/com.Messente.Api/Api/GroupsApi.cs | 2 +- src/com.Messente.Api/Api/OmnimessageApi.cs | 2 +- src/com.Messente.Api/Client/ApiClient.cs | 2 +- src/com.Messente.Api/Client/ApiException.cs | 2 +- src/com.Messente.Api/Client/ApiResponse.cs | 2 +- src/com.Messente.Api/Client/Configuration.cs | 2 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/GlobalConfiguration.cs | 2 +- src/com.Messente.Api/Client/IApiAccessor.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- .../Client/OpenAPIDateConverter.cs | 2 +- src/com.Messente.Api/Model/Channel.cs | 10 +- src/com.Messente.Api/Model/ContactEnvelope.cs | 2 +- src/com.Messente.Api/Model/ContactFields.cs | 2 +- .../Model/ContactListEnvelope.cs | 2 +- .../Model/ContactUpdateFields.cs | 2 +- .../Model/DeliveryReportResponse.cs | 2 +- src/com.Messente.Api/Model/DeliveryResult.cs | 2 +- src/com.Messente.Api/Model/EmptyObject.cs | 2 +- .../Model/ErrorCodeOmnichannel.cs | 2 +- .../Model/ErrorCodeOmnichannelMachine.cs | 2 +- .../Model/ErrorCodePhonebook.cs | 2 +- .../Model/ErrorItemOmnichannel.cs | 2 +- .../Model/ErrorItemPhonebook.cs | 2 +- .../Model/ErrorOmnichannel.cs | 2 +- src/com.Messente.Api/Model/ErrorPhonebook.cs | 2 +- .../Model/ErrorTitleOmnichannel.cs | 2 +- .../Model/ErrorTitlePhonebook.cs | 2 +- .../Model/FetchBlacklistSuccess.cs | 2 +- src/com.Messente.Api/Model/GroupEnvelope.cs | 2 +- .../Model/GroupListEnvelope.cs | 2 +- src/com.Messente.Api/Model/GroupName.cs | 2 +- .../Model/GroupResponseFields.cs | 2 +- src/com.Messente.Api/Model/MessageResult.cs | 2 +- .../Model/NumberToBlacklist.cs | 2 +- .../Model/OmniMessageCreateSuccessResponse.cs | 2 +- src/com.Messente.Api/Model/Omnimessage.cs | 2 +- src/com.Messente.Api/Model/SMS.cs | 2 +- src/com.Messente.Api/Model/Status.cs | 2 +- src/com.Messente.Api/Model/Telegram.cs | 238 ++++++++++++++++++ src/com.Messente.Api/Model/TextStore.cs | 2 +- src/com.Messente.Api/Model/Viber.cs | 2 +- src/com.Messente.Api/Model/WhatsApp.cs | 2 +- src/com.Messente.Api/Model/WhatsAppAudio.cs | 2 +- .../Model/WhatsAppDocument.cs | 2 +- src/com.Messente.Api/Model/WhatsAppImage.cs | 2 +- src/com.Messente.Api/Model/WhatsAppText.cs | 2 +- src/com.Messente.Api/com.Messente.Api.csproj | 2 +- 53 files changed, 311 insertions(+), 52 deletions(-) create mode 100644 docs/Telegram.md create mode 100644 src/com.Messente.Api/Model/Telegram.cs diff --git a/README.md b/README.md index 935dcf2..cb59363 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ - Messente API version: 1.0.2 - C# package version: 1.0.2 -[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. +[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. ## Installation diff --git a/docs/Telegram.md b/docs/Telegram.md new file mode 100644 index 0000000..f00351b --- /dev/null +++ b/docs/Telegram.md @@ -0,0 +1,15 @@ +# com.Messente.Api.Model.Telegram +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Sender** | **string** | Phone number or alphanumeric sender name | [optional] +**Validity** | **int?** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] +**Text** | **string** | Plaintext content for Telegram | [optional] +**ImageUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional] +**DocumentUrl** | **string** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional] +**AudioUrl** | **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 ChannelEnum.Telegram] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/src/com.Messente.Api/Api/BlacklistApi.cs b/src/com.Messente.Api/Api/BlacklistApi.cs index adab1dd..5e59e0d 100644 --- a/src/com.Messente.Api/Api/BlacklistApi.cs +++ b/src/com.Messente.Api/Api/BlacklistApi.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Api/ContactsApi.cs b/src/com.Messente.Api/Api/ContactsApi.cs index aff5fb2..69e12fe 100644 --- a/src/com.Messente.Api/Api/ContactsApi.cs +++ b/src/com.Messente.Api/Api/ContactsApi.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Api/DeliveryReportApi.cs b/src/com.Messente.Api/Api/DeliveryReportApi.cs index a523920..7859824 100644 --- a/src/com.Messente.Api/Api/DeliveryReportApi.cs +++ b/src/com.Messente.Api/Api/DeliveryReportApi.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Api/GroupsApi.cs b/src/com.Messente.Api/Api/GroupsApi.cs index a08d419..478941b 100644 --- a/src/com.Messente.Api/Api/GroupsApi.cs +++ b/src/com.Messente.Api/Api/GroupsApi.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Api/OmnimessageApi.cs b/src/com.Messente.Api/Api/OmnimessageApi.cs index d83a542..21cea24 100644 --- a/src/com.Messente.Api/Api/OmnimessageApi.cs +++ b/src/com.Messente.Api/Api/OmnimessageApi.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/ApiClient.cs b/src/com.Messente.Api/Client/ApiClient.cs index 4a44d3e..30b4525 100644 --- a/src/com.Messente.Api/Client/ApiClient.cs +++ b/src/com.Messente.Api/Client/ApiClient.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/ApiException.cs b/src/com.Messente.Api/Client/ApiException.cs index f89c9c2..6c42029 100644 --- a/src/com.Messente.Api/Client/ApiException.cs +++ b/src/com.Messente.Api/Client/ApiException.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/ApiResponse.cs b/src/com.Messente.Api/Client/ApiResponse.cs index 9f932dd..d323a60 100644 --- a/src/com.Messente.Api/Client/ApiResponse.cs +++ b/src/com.Messente.Api/Client/ApiResponse.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/Configuration.cs b/src/com.Messente.Api/Client/Configuration.cs index 8dbae48..05e00cb 100644 --- a/src/com.Messente.Api/Client/Configuration.cs +++ b/src/com.Messente.Api/Client/Configuration.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/ExceptionFactory.cs b/src/com.Messente.Api/Client/ExceptionFactory.cs index 448ebe6..0d7d47a 100644 --- a/src/com.Messente.Api/Client/ExceptionFactory.cs +++ b/src/com.Messente.Api/Client/ExceptionFactory.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/GlobalConfiguration.cs b/src/com.Messente.Api/Client/GlobalConfiguration.cs index 796cb2a..ba721c1 100644 --- a/src/com.Messente.Api/Client/GlobalConfiguration.cs +++ b/src/com.Messente.Api/Client/GlobalConfiguration.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/IApiAccessor.cs b/src/com.Messente.Api/Client/IApiAccessor.cs index e94ea6b..290c101 100644 --- a/src/com.Messente.Api/Client/IApiAccessor.cs +++ b/src/com.Messente.Api/Client/IApiAccessor.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/IReadableConfiguration.cs b/src/com.Messente.Api/Client/IReadableConfiguration.cs index 6d169ae..898136c 100644 --- a/src/com.Messente.Api/Client/IReadableConfiguration.cs +++ b/src/com.Messente.Api/Client/IReadableConfiguration.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Client/OpenAPIDateConverter.cs b/src/com.Messente.Api/Client/OpenAPIDateConverter.cs index 273b363..21a4a27 100644 --- a/src/com.Messente.Api/Client/OpenAPIDateConverter.cs +++ b/src/com.Messente.Api/Client/OpenAPIDateConverter.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/Channel.cs b/src/com.Messente.Api/Model/Channel.cs index 492d963..29f57a6 100644 --- a/src/com.Messente.Api/Model/Channel.cs +++ b/src/com.Messente.Api/Model/Channel.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com @@ -47,7 +47,13 @@ public enum Channel /// Enum Whatsapp for value: whatsapp /// [EnumMember(Value = "whatsapp")] - Whatsapp = 3 + Whatsapp = 3, + + /// + /// Enum Telegram for value: telegram + /// + [EnumMember(Value = "telegram")] + Telegram = 4 } diff --git a/src/com.Messente.Api/Model/ContactEnvelope.cs b/src/com.Messente.Api/Model/ContactEnvelope.cs index 04a5af3..c27a6b4 100644 --- a/src/com.Messente.Api/Model/ContactEnvelope.cs +++ b/src/com.Messente.Api/Model/ContactEnvelope.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ContactFields.cs b/src/com.Messente.Api/Model/ContactFields.cs index 9eea0e0..5b7f995 100644 --- a/src/com.Messente.Api/Model/ContactFields.cs +++ b/src/com.Messente.Api/Model/ContactFields.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ContactListEnvelope.cs b/src/com.Messente.Api/Model/ContactListEnvelope.cs index 5d9a268..58586db 100644 --- a/src/com.Messente.Api/Model/ContactListEnvelope.cs +++ b/src/com.Messente.Api/Model/ContactListEnvelope.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ContactUpdateFields.cs b/src/com.Messente.Api/Model/ContactUpdateFields.cs index 5d40a56..74b3e19 100644 --- a/src/com.Messente.Api/Model/ContactUpdateFields.cs +++ b/src/com.Messente.Api/Model/ContactUpdateFields.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/DeliveryReportResponse.cs b/src/com.Messente.Api/Model/DeliveryReportResponse.cs index fda7d8a..6a8972c 100644 --- a/src/com.Messente.Api/Model/DeliveryReportResponse.cs +++ b/src/com.Messente.Api/Model/DeliveryReportResponse.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/DeliveryResult.cs b/src/com.Messente.Api/Model/DeliveryResult.cs index 8357373..1cb233b 100644 --- a/src/com.Messente.Api/Model/DeliveryResult.cs +++ b/src/com.Messente.Api/Model/DeliveryResult.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/EmptyObject.cs b/src/com.Messente.Api/Model/EmptyObject.cs index c9ad9f8..80a4b2b 100644 --- a/src/com.Messente.Api/Model/EmptyObject.cs +++ b/src/com.Messente.Api/Model/EmptyObject.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorCodeOmnichannel.cs b/src/com.Messente.Api/Model/ErrorCodeOmnichannel.cs index 31bbe5d..bda2356 100644 --- a/src/com.Messente.Api/Model/ErrorCodeOmnichannel.cs +++ b/src/com.Messente.Api/Model/ErrorCodeOmnichannel.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorCodeOmnichannelMachine.cs b/src/com.Messente.Api/Model/ErrorCodeOmnichannelMachine.cs index 1fc55ce..1946d69 100644 --- a/src/com.Messente.Api/Model/ErrorCodeOmnichannelMachine.cs +++ b/src/com.Messente.Api/Model/ErrorCodeOmnichannelMachine.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorCodePhonebook.cs b/src/com.Messente.Api/Model/ErrorCodePhonebook.cs index b34d635..e28f749 100644 --- a/src/com.Messente.Api/Model/ErrorCodePhonebook.cs +++ b/src/com.Messente.Api/Model/ErrorCodePhonebook.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorItemOmnichannel.cs b/src/com.Messente.Api/Model/ErrorItemOmnichannel.cs index 025a296..540f7e8 100644 --- a/src/com.Messente.Api/Model/ErrorItemOmnichannel.cs +++ b/src/com.Messente.Api/Model/ErrorItemOmnichannel.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorItemPhonebook.cs b/src/com.Messente.Api/Model/ErrorItemPhonebook.cs index 71f33b4..2650b92 100644 --- a/src/com.Messente.Api/Model/ErrorItemPhonebook.cs +++ b/src/com.Messente.Api/Model/ErrorItemPhonebook.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorOmnichannel.cs b/src/com.Messente.Api/Model/ErrorOmnichannel.cs index 6bbe9c3..24595aa 100644 --- a/src/com.Messente.Api/Model/ErrorOmnichannel.cs +++ b/src/com.Messente.Api/Model/ErrorOmnichannel.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorPhonebook.cs b/src/com.Messente.Api/Model/ErrorPhonebook.cs index 12b77db..4b2fe0c 100644 --- a/src/com.Messente.Api/Model/ErrorPhonebook.cs +++ b/src/com.Messente.Api/Model/ErrorPhonebook.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorTitleOmnichannel.cs b/src/com.Messente.Api/Model/ErrorTitleOmnichannel.cs index f77b416..f43e292 100644 --- a/src/com.Messente.Api/Model/ErrorTitleOmnichannel.cs +++ b/src/com.Messente.Api/Model/ErrorTitleOmnichannel.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/ErrorTitlePhonebook.cs b/src/com.Messente.Api/Model/ErrorTitlePhonebook.cs index d2533bf..7718c17 100644 --- a/src/com.Messente.Api/Model/ErrorTitlePhonebook.cs +++ b/src/com.Messente.Api/Model/ErrorTitlePhonebook.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/FetchBlacklistSuccess.cs b/src/com.Messente.Api/Model/FetchBlacklistSuccess.cs index ec5782e..e84048c 100644 --- a/src/com.Messente.Api/Model/FetchBlacklistSuccess.cs +++ b/src/com.Messente.Api/Model/FetchBlacklistSuccess.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/GroupEnvelope.cs b/src/com.Messente.Api/Model/GroupEnvelope.cs index 20f6fbb..2fe73c0 100644 --- a/src/com.Messente.Api/Model/GroupEnvelope.cs +++ b/src/com.Messente.Api/Model/GroupEnvelope.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/GroupListEnvelope.cs b/src/com.Messente.Api/Model/GroupListEnvelope.cs index 1cdadf5..21c510a 100644 --- a/src/com.Messente.Api/Model/GroupListEnvelope.cs +++ b/src/com.Messente.Api/Model/GroupListEnvelope.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/GroupName.cs b/src/com.Messente.Api/Model/GroupName.cs index d7b0c23..f3ab628 100644 --- a/src/com.Messente.Api/Model/GroupName.cs +++ b/src/com.Messente.Api/Model/GroupName.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/GroupResponseFields.cs b/src/com.Messente.Api/Model/GroupResponseFields.cs index be4f588..117f7d8 100644 --- a/src/com.Messente.Api/Model/GroupResponseFields.cs +++ b/src/com.Messente.Api/Model/GroupResponseFields.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/MessageResult.cs b/src/com.Messente.Api/Model/MessageResult.cs index beb2b3a..3e7eeba 100644 --- a/src/com.Messente.Api/Model/MessageResult.cs +++ b/src/com.Messente.Api/Model/MessageResult.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/NumberToBlacklist.cs b/src/com.Messente.Api/Model/NumberToBlacklist.cs index abe2b9d..0a23bb2 100644 --- a/src/com.Messente.Api/Model/NumberToBlacklist.cs +++ b/src/com.Messente.Api/Model/NumberToBlacklist.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/OmniMessageCreateSuccessResponse.cs b/src/com.Messente.Api/Model/OmniMessageCreateSuccessResponse.cs index a081a6e..e119269 100644 --- a/src/com.Messente.Api/Model/OmniMessageCreateSuccessResponse.cs +++ b/src/com.Messente.Api/Model/OmniMessageCreateSuccessResponse.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/Omnimessage.cs b/src/com.Messente.Api/Model/Omnimessage.cs index 52be748..15862d6 100644 --- a/src/com.Messente.Api/Model/Omnimessage.cs +++ b/src/com.Messente.Api/Model/Omnimessage.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/SMS.cs b/src/com.Messente.Api/Model/SMS.cs index 2556998..6165b69 100644 --- a/src/com.Messente.Api/Model/SMS.cs +++ b/src/com.Messente.Api/Model/SMS.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/Status.cs b/src/com.Messente.Api/Model/Status.cs index ce8eb9f..6882823 100644 --- a/src/com.Messente.Api/Model/Status.cs +++ b/src/com.Messente.Api/Model/Status.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/Telegram.cs b/src/com.Messente.Api/Model/Telegram.cs new file mode 100644 index 0000000..f49b3cd --- /dev/null +++ b/src/com.Messente.Api/Model/Telegram.cs @@ -0,0 +1,238 @@ +/* + * Messente API + * + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * + * OpenAPI spec version: 1.0.2 + * Contact: messente@messente.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using OpenAPIDateConverter = com.Messente.Api.Client.OpenAPIDateConverter; + +namespace com.Messente.Api.Model +{ + /// + /// Telegram message content + /// + [DataContract] + public partial class Telegram : IEquatable + { + /// + /// The channel used to deliver the message + /// + /// The channel used to deliver the message + [JsonConverter(typeof(StringEnumConverter))] + public enum ChannelEnum + { + /// + /// Enum Telegram for value: telegram + /// + [EnumMember(Value = "telegram")] + Telegram = 1 + + } + + /// + /// The channel used to deliver the message + /// + /// The channel used to deliver the message + [DataMember(Name="channel", EmitDefaultValue=false)] + public ChannelEnum? Channel { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Phone number or alphanumeric sender name. + /// After how many minutes this channel is considered as failed and the next channel is attempted. + /// Plaintext content for Telegram. + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\". + /// URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\". + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\". + /// The channel used to deliver the message (default to ChannelEnum.Telegram). + public Telegram(string sender = default(string), int? validity = default(int?), string text = default(string), string imageUrl = default(string), string documentUrl = default(string), string audioUrl = default(string), ChannelEnum? channel = ChannelEnum.Telegram) + { + this.Sender = sender; + this.Validity = validity; + this.Text = text; + this.ImageUrl = imageUrl; + this.DocumentUrl = documentUrl; + this.AudioUrl = audioUrl; + // use default value if no "channel" provided + if (channel == null) + { + this.Channel = ChannelEnum.Telegram; + } + else + { + this.Channel = channel; + } + } + + /// + /// Phone number or alphanumeric sender name + /// + /// Phone number or alphanumeric sender name + [DataMember(Name="sender", EmitDefaultValue=false)] + public string Sender { get; set; } + + /// + /// After how many minutes this channel is considered as failed and the next channel is attempted + /// + /// After how many minutes this channel is considered as failed and the next channel is attempted + [DataMember(Name="validity", EmitDefaultValue=false)] + public int? Validity { get; set; } + + /// + /// Plaintext content for Telegram + /// + /// Plaintext content for Telegram + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" + /// + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" + [DataMember(Name="image_url", EmitDefaultValue=false)] + public string ImageUrl { get; set; } + + /// + /// URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" + /// + /// URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" + [DataMember(Name="document_url", EmitDefaultValue=false)] + public string DocumentUrl { get; set; } + + /// + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" + /// + /// URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" + [DataMember(Name="audio_url", EmitDefaultValue=false)] + public string AudioUrl { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Telegram {\n"); + sb.Append(" Sender: ").Append(Sender).Append("\n"); + sb.Append(" Validity: ").Append(Validity).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n"); + sb.Append(" DocumentUrl: ").Append(DocumentUrl).Append("\n"); + sb.Append(" AudioUrl: ").Append(AudioUrl).Append("\n"); + sb.Append(" Channel: ").Append(Channel).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Telegram); + } + + /// + /// Returns true if Telegram instances are equal + /// + /// Instance of Telegram to be compared + /// Boolean + public bool Equals(Telegram input) + { + if (input == null) + return false; + + return + ( + this.Sender == input.Sender || + (this.Sender != null && + this.Sender.Equals(input.Sender)) + ) && + ( + this.Validity == input.Validity || + (this.Validity != null && + this.Validity.Equals(input.Validity)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.ImageUrl == input.ImageUrl || + (this.ImageUrl != null && + this.ImageUrl.Equals(input.ImageUrl)) + ) && + ( + this.DocumentUrl == input.DocumentUrl || + (this.DocumentUrl != null && + this.DocumentUrl.Equals(input.DocumentUrl)) + ) && + ( + this.AudioUrl == input.AudioUrl || + (this.AudioUrl != null && + this.AudioUrl.Equals(input.AudioUrl)) + ) && + ( + this.Channel == input.Channel || + (this.Channel != null && + this.Channel.Equals(input.Channel)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Sender != null) + hashCode = hashCode * 59 + this.Sender.GetHashCode(); + if (this.Validity != null) + hashCode = hashCode * 59 + this.Validity.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.ImageUrl != null) + hashCode = hashCode * 59 + this.ImageUrl.GetHashCode(); + if (this.DocumentUrl != null) + hashCode = hashCode * 59 + this.DocumentUrl.GetHashCode(); + if (this.AudioUrl != null) + hashCode = hashCode * 59 + this.AudioUrl.GetHashCode(); + if (this.Channel != null) + hashCode = hashCode * 59 + this.Channel.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/com.Messente.Api/Model/TextStore.cs b/src/com.Messente.Api/Model/TextStore.cs index c2dad99..9f4a748 100644 --- a/src/com.Messente.Api/Model/TextStore.cs +++ b/src/com.Messente.Api/Model/TextStore.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/Viber.cs b/src/com.Messente.Api/Model/Viber.cs index 8a2497e..9e227d6 100644 --- a/src/com.Messente.Api/Model/Viber.cs +++ b/src/com.Messente.Api/Model/Viber.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/WhatsApp.cs b/src/com.Messente.Api/Model/WhatsApp.cs index 45ae75f..76df417 100644 --- a/src/com.Messente.Api/Model/WhatsApp.cs +++ b/src/com.Messente.Api/Model/WhatsApp.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/WhatsAppAudio.cs b/src/com.Messente.Api/Model/WhatsAppAudio.cs index 2e5c2c7..9466132 100644 --- a/src/com.Messente.Api/Model/WhatsAppAudio.cs +++ b/src/com.Messente.Api/Model/WhatsAppAudio.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/WhatsAppDocument.cs b/src/com.Messente.Api/Model/WhatsAppDocument.cs index e93b24b..0984911 100644 --- a/src/com.Messente.Api/Model/WhatsAppDocument.cs +++ b/src/com.Messente.Api/Model/WhatsAppDocument.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/WhatsAppImage.cs b/src/com.Messente.Api/Model/WhatsAppImage.cs index ed981cd..585e3ac 100644 --- a/src/com.Messente.Api/Model/WhatsAppImage.cs +++ b/src/com.Messente.Api/Model/WhatsAppImage.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/Model/WhatsAppText.cs b/src/com.Messente.Api/Model/WhatsAppText.cs index 3fb381a..8cda081 100644 --- a/src/com.Messente.Api/Model/WhatsAppText.cs +++ b/src/com.Messente.Api/Model/WhatsAppText.cs @@ -1,7 +1,7 @@ /* * Messente API * - * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. + * [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. * * OpenAPI spec version: 1.0.2 * Contact: messente@messente.com diff --git a/src/com.Messente.Api/com.Messente.Api.csproj b/src/com.Messente.Api/com.Messente.Api.csproj index 3fdf59b..fbb19f7 100644 --- a/src/com.Messente.Api/com.Messente.Api.csproj +++ b/src/com.Messente.Api/com.Messente.Api.csproj @@ -2,7 +2,7 @@