Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

momotaro98/ViberApiLib-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViberApiLib-CSharp

ViberApiLib-CSharp is a library for developing Viber platform with use of its API.

This library is made based on Viber REST API.

Viber API

Vpi class

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)

Request class

  • Kinds of Request
    • SubscribedRequest
    • UnsubscribedRequest
    • MessageRequest
    • SeenRequest
    • ConversationStartedRequest
    • DeliveredRequest
    • FailedRequest
    • WebhookRequest

All of Requests have string Event and string TimeStamp property but each Request have different properties/methods.

Usage

To utilize the library, please refer to the test codes in this project.

Test Codes