InputMessageId:
    | { chatId: InputPeerLike; message: number }
    | { message: Message }

Parameters for methods that accept a message

Either a message object (in message field), or a chat ID and a message ID