Api functions
Example 1. Send audio to current chat
Api.sendAudio({
audio: "https://www.bensound.org/bensound-music/bensound-funnysong.mp3"
});Api.sendAudio({
chat_id: 5515411,
audio: "https://www.bensound.org/bensound-music/bensound-funnysong.mp3"
});Api.sendAudio({
audio: "https://www.bensound.org/bensound-music/bensound-funnysong.mp3"
title: "test audio",
disable_notification: true
});Example 2. Send photo with inline keyboard

Get methods
Command /get
/getCommand onGetProfilePhotos
onGetProfilePhotosError handling
Last updated