Skip to content

Faridbabayev001/botdeliveCSHARP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

botdelive

About

BotDelive is a Push Notification and 2-factor authentication API service that works over the chat bots (Telegram and Messenger).

Requirements

  1. Create an account.
  2. Create an app on the dashboard to get appId and secretKey credentials.
  3. Install nuget package

Usage

Let's install and initialize the library first. Don't forget to replace <YOUR_APP_ID> and <YOUR_SECRET_KEY>.

using BotDelive;

Botdelive bd = new Botdelive('<YOUR_APP_ID>', '<YOUR_SECRET_KEY>');

Verify the "Access Code":

bd.Verify('<BOT_GENERATED_ACCESS_CODE>');

Send 2-factor authentication request (long polling):

bd.Auth(<USER_ID>);

Send Push Notification request:

bd.Push(<USER_ID>, <MESSAGE>);

Documentation

Complete documentation available at: https://botdelive.com/docs

About

A C# library of BotDelive API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages