Function createNewMessage

  • Create a new empty Message. You can then fill in the empty fields before calling prepare

    Returns

    an message with empty fields

    Example

    const message = createNewMessage(isoDefinition, mti);
    

    Type Parameters

    Parameters

    • definition: MessageDefinition<FD>

      an object that will constrain the type of the fields that can be used.

    • mti: number

      the MTI to use for this message.

    Returns Message<FD>

Generated using TypeDoc