ViberApiLib-CSharp is a library for developing Viber platform with use of its API.
This library is made based on Viber REST API.
using ViberApiLib
- Api
- string AuthToken
- string BotName
- string AvatarPath
- string SendMessages(string userId, string text, string trackingData)
- string SetWebhook(string url, List event_types)
- Request ParseRequest(string jsonRequest)
- string PostRequest(string endPoint, string payload)
- Kinds of
Request
- SubscribedRequest
- UnsubscribedRequest
- MessageRequest
- SeenRequest
- ConversationStartedRequest
- DeliveredRequest
- FailedRequest
- WebhookRequest
All of Request
s have string Event
and string TimeStamp
property but each Request
have different properties/methods.
To utilize the library, please refer to the test codes in this project.