Function ChatMessageTypeFromString

  • Converts the message type from string to enum.

    Parameters

    • params: string

      The message type of the string type.

    Returns ChatMessageType

    The message type of the enum type.