Skip to content

Message.reply_voice

bound method · async

Reply to the message with a voice note. Shortcut for sendVoice.

Message.reply_voice(
  voice: InputFile | str,
  caption: str = None,
  caption_entities: list = None,
  parse_mode: str = None,
  duration: int = 0,
  waveform: bytes = None,
  disable_notification: bool = False,
  protect_content: bool = False,
  allow_paid_broadcast: bool = False,
  topic_id: MessageTopic | None = None,
  quote: InputTextQuote | None = None,
  no_reply: bool = False,
  ephemeral: bool = False,
  receiver_user_id: int = 0,
  reply_markup: ReplyMarkupInlineKeyboard | ReplyMarkupShowKeyboard | ReplyMarkupForceReply | ReplyMarkupRemoveKeyboard | None = None
) → Error | Message

Source: pytdbot/types/bound_methods/message.py