Skip to content

Message.reply_text

bound method · async

Reply to the message with text. Shortcut for sendTextMessage.

Message.reply_text(
  text: str,
  entities: list of TextEntity = None,
  parse_mode: str = None,
  disable_web_page_preview: bool = False,
  url: str = None,
  force_small_media: bool = None,
  force_large_media: bool = None,
  show_above_text: bool = None,
  clear_draft: bool = False,
  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