Documentation - v0.27.0
    Preparing search index...
    • Send a text comment to a given message.

      If this is a normal message (not a channel post), a simple reply will be sent.

      Parameters

      • client: ITelegramClient
      • message: Message
      • ...params: [
            medias: (string | InputMediaLike)[],
            params?: CommonSendParams & {
                invertMedia?: boolean;
                progressCallback?: (
                    index: number,
                    uploaded: number,
                    total: number,
                ) => void;
            },
        ]

      Returns Promise<Message[]>

      MtArgumentError If this is a channel post which does not have comments section. To check if a post has comments, use Message#replies.hasComments