Skip to content

Commit 0940d40

Browse files
author
Erik Räni
authored
1.1.0 (#4)
Add Telegram
1 parent 90deaee commit 0940d40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+386
-127
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Messente API Library
22

3-
- Messente API version: 1.0.2
4-
- C# package version: 1.0.2
3+
- Messente API version: 1.1.0
4+
- C# package version: 1.1.0
55

6-
[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.
6+
[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.
77

88
## Installation
99

1010
Install Messente API library via NuGet Package Manager or .NET CLI.
1111

1212
### Package Manager
1313

14-
`Install-Package com.Messente.Api -Version 1.0.2`
14+
`Install-Package com.Messente.Api -Version 1.1.0`
1515

1616
### .NET CLI
1717

18-
`dotnet add package com.Messente.Api --version 1.0.2`
18+
`dotnet add package com.Messente.Api --version 1.1.0`
1919

2020
## Features
2121

@@ -118,7 +118,7 @@ namespace Example
118118

119119
## License
120120

121-
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
121+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
122122

123123
## Terms
124124

docs/BlacklistApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ namespace Example
9797
Configuration.Default.Password = "YOUR_PASSWORD";
9898

9999
var apiInstance = new BlacklistApi();
100-
var phone = phone_example; // string | A phone number
100+
var phone = +37251000000; // string | A phone number
101101
102102
try
103103
{
@@ -218,7 +218,7 @@ namespace Example
218218
Configuration.Default.Password = "YOUR_PASSWORD";
219219

220220
var apiInstance = new BlacklistApi();
221-
var phone = phone_example; // string | A phone number
221+
var phone = +37251000000; // string | A phone number
222222
223223
try
224224
{

docs/ContactsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ namespace Example
3939
Configuration.Default.Password = "YOUR_PASSWORD";
4040

4141
var apiInstance = new ContactsApi();
42-
var groupId = groupId_example; // string | String in UUID format
43-
var phone = phone_example; // string | A phone number
42+
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
43+
var phone = +37251000000; // string | A phone number
4444
4545
try
4646
{
@@ -167,7 +167,7 @@ namespace Example
167167
Configuration.Default.Password = "YOUR_PASSWORD";
168168

169169
var apiInstance = new ContactsApi();
170-
var phone = phone_example; // string | A phone number
170+
var phone = +37251000000; // string | A phone number
171171
172172
try
173173
{
@@ -229,7 +229,7 @@ namespace Example
229229
Configuration.Default.Password = "YOUR_PASSWORD";
230230

231231
var apiInstance = new ContactsApi();
232-
var phone = phone_example; // string | A phone number
232+
var phone = +37251000000; // string | A phone number
233233
234234
try
235235
{
@@ -292,7 +292,7 @@ namespace Example
292292
Configuration.Default.Password = "YOUR_PASSWORD";
293293

294294
var apiInstance = new ContactsApi();
295-
var phone = phone_example; // string | A phone number
295+
var phone = +37251000000; // string | A phone number
296296
297297
try
298298
{
@@ -418,8 +418,8 @@ namespace Example
418418
Configuration.Default.Password = "YOUR_PASSWORD";
419419

420420
var apiInstance = new ContactsApi();
421-
var groupId = groupId_example; // string | String in UUID format
422-
var phone = phone_example; // string | A phone number
421+
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
422+
var phone = +37251000000; // string | A phone number
423423
424424
try
425425
{
@@ -482,7 +482,7 @@ namespace Example
482482
Configuration.Default.Password = "YOUR_PASSWORD";
483483

484484
var apiInstance = new ContactsApi();
485-
var phone = phone_example; // string | A phone number
485+
var phone = +37251000000; // string | A phone number
486486
var contactUpdateFields = new ContactUpdateFields(); // ContactUpdateFields |
487487
488488
try

docs/GroupsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ namespace Example
9999
Configuration.Default.Password = "YOUR_PASSWORD";
100100

101101
var apiInstance = new GroupsApi();
102-
var groupId = groupId_example; // string | String in UUID format
102+
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
103103
104104
try
105105
{
@@ -161,7 +161,7 @@ namespace Example
161161
Configuration.Default.Password = "YOUR_PASSWORD";
162162

163163
var apiInstance = new GroupsApi();
164-
var groupId = groupId_example; // string | String in UUID format
164+
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
165165
166166
try
167167
{
@@ -283,7 +283,7 @@ namespace Example
283283
Configuration.Default.Password = "YOUR_PASSWORD";
284284

285285
var apiInstance = new GroupsApi();
286-
var groupId = groupId_example; // string | String in UUID format
286+
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
287287
var groupName = new GroupName(); // GroupName |
288288
289289
try

docs/Telegram.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# com.Messente.Api.Model.Telegram
2+
## Properties
3+
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**Sender** | **string** | Phone number or alphanumeric sender name | [optional]
7+
**Validity** | **int?** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
8+
**Text** | **string** | Plaintext content for Telegram | [optional]
9+
**ImageUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional]
10+
**DocumentUrl** | **string** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional]
11+
**AudioUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional]
12+
**Channel** | **string** | The channel used to deliver the message | [optional] [default to ChannelEnum.Telegram]
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+

src/com.Messente.Api/Api/BlacklistApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Api/ContactsApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Api/DeliveryReportApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Api/GroupsApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Api/OmnimessageApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Client/ApiClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Client/ApiException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Client/ApiResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/com.Messente.Api/Client/Configuration.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/
@@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
2929
/// Version of the package.
3030
/// </summary>
3131
/// <value>Version of the package.</value>
32-
public const string Version = "1.0.2";
32+
public const string Version = "1.1.0";
3333

3434
/// <summary>
3535
/// Identifier for ISO 8601 DateTime Format
@@ -110,7 +110,7 @@ static Configuration()
110110
/// </summary>
111111
public Configuration()
112112
{
113-
UserAgent = "OpenAPI-Generator/1.0.2/csharp";
113+
UserAgent = "OpenAPI-Generator/1.1.0/csharp";
114114
BasePath = "https://api.messente.com/v1";
115115
DefaultHeader = new ConcurrentDictionary<string, string>();
116116
ApiKey = new ConcurrentDictionary<string, string>();
@@ -183,7 +183,7 @@ public Configuration(
183183
string tempFolderPath = null,
184184
string dateTimeFormat = null,
185185
int timeout = 100000,
186-
string userAgent = "OpenAPI-Generator/1.0.2/csharp"
186+
string userAgent = "OpenAPI-Generator/1.1.0/csharp"
187187
// ReSharper restore UnusedParameter.Local
188188
)
189189
{
@@ -414,8 +414,8 @@ public static String ToDebugReport()
414414
{
415415
String report = "C# SDK (com.Messente.Api) Debug Report:\n";
416416
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
417-
report += " Version of the API: 1.0.2\n";
418-
report += " SDK Package Version: 1.0.2\n";
417+
report += " Version of the API: 1.1.0\n";
418+
report += " SDK Package Version: 1.1.0\n";
419419

420420
return report;
421421
}

src/com.Messente.Api/Client/ExceptionFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Messente API
33
*
4-
* [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.
4+
* [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.
55
*
6-
* OpenAPI spec version: 1.0.2
6+
* OpenAPI spec version: 1.1.0
77
* Contact: [email protected]
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

0 commit comments

Comments
 (0)