Function ChatMessageDirectionFromString

  • Converts the message direction from string to enum.

    Parameters

    • params: string

      The message direction of the string type.

    Returns ChatMessageDirection

    The message direction of the enum type.