Class SendVoice

  • All Implemented Interfaces:
    Validable

    public class SendVoice
    extends PartialBotApiMethod<Message>
    Version:
    1.0 Use this method to send voice notes, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .ogg file encoded with OPUS (other formats may be sent as Audio or Document).
    Author:
    Ruben Bermudez