Userable

public protocol Userable : PayloadType

A generic user used in GlobalEvents.

  • Identifier of the user. Should be platform unique.

    Declaration

    Swift

    var identifier: String? { get }
  • String that will mention the user when sent. For example @username or <@userid>

    Declaration

    Swift

    var mention: String { get }