GetPushReceiverId

public struct GetPushReceiverId : Codable, Equatable, TDFunction

Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification. This is an offline method. Can be called before authorization. Can be called synchronously

  • Undocumented

    Declaration

    Swift

    public typealias Result = PushReceiverId
  • JSON-encoded push notification payload

    Declaration

    Swift

    public let payload: String
  • Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification. This is an offline method. Can be called before authorization. Can be called synchronously

    Declaration

    Swift

    public init(payload: String)

    Parameters

    payload

    JSON-encoded push notification payload