Skip to content

saiedkia/BaleBotApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BaleBotApi

Bale Messenger Bot Api in C#

Installation

from nuget package:

Install-Package BaleBotApi

Usage

  • Send message
BaleClient client = new BaleClient(Token);
client.SendTextMessage(new TextMessage()
{
    ChatId = ChatId,
    Text = "salam"
});
  • Send audio message
BaleClient client = new BaleClient(Token);
Response response = client.SendAudio(new AudioMessage()
{
    Caption = "audio caption",
    ChatId = ChatId,
    Audio = Utils.ToBytes(FilePath + "gun_sound.mp3"),
    Title = "audio title"
});

About

Bale messenger bot api wrapper in C#

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages