Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

telegram (version 0.7.1)

sendVoice: sendVoice

Description

Send .ogg files encoded with OPUS

Usage

sendVoice(
  voice = NULL,
  duration = NULL,
  disable_notification = NULL,
  reply_to_message_id = NULL,
  chat_id = NULL
)

Arguments

voice

Audio file to send (required)

duration

Duration of sent audio in seconds

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)