sendVoice {telegram}R Documentation

sendVoice

Description

Send .ogg files encoded with OPUS

Usage

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

Arguments

voice

Audio file to send (required)

duration

Duration of sent audio in seconds

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)


[Package telegram version 0.6.0 Index]