Skip to content

Client.sendCopy

client method · async

Copy message to chat

Client.sendCopy(
  chat_id: int,
  from_chat_id: int,
  message_id: int,
  in_game_share: bool = None,
  replace_caption: bool = None,
  new_caption: str = None,
  new_caption_entities: list = None,
  parse_mode: str = None,
  disable_notification: bool = False,
  protect_content: bool = False,
  allow_paid_broadcast: bool = False,
  topic_id: MessageTopic = None,
  quote: InputTextQuote = None,
  reply_to: InputMessageReplyTo = None,
  reply_to_message_id: int = 0,
  receiver_user_id: int = 0,
  callback_query_id: int = 0,
  reply_markup: ReplyMarkupInlineKeyboard | ReplyMarkupShowKeyboard | ReplyMarkupForceReply | ReplyMarkupRemoveKeyboard = None
) → Error | Message

Source: pytdbot/methods/methods.py