sendAudio: sendAudio

View source: R/TGBot.R

sendAudioR Documentation

sendAudio

Description

Send mp3 files

Usage

sendAudio(
  audio = NULL,
  caption = NULL,
  duration = NULL,
  performer = NULL,
  title = NULL,
  disable_notification = NULL,
  reply_to_message_id = NULL,
  chat_id = NULL
)

Arguments

audio

path to audio file to send (required)

caption

audio caption

duration

duration of the audio in seconds

performer

performer

title

track name

disable_notification

Sends the message silently. Users will receive a notification with no sound

reply_to_message_id

If the message is a reply, ID of the original message

chat_id

Unique identifier for the target chat or username of the target channel (required)


telegram documentation built on April 3, 2025, 8:53 p.m.