Push Api Client
Functions
Link copied to clipboard
abstract suspend fun deletePushRule(scope: String, kind: PushRuleKind, ruleId: String, asUserId: UserId? = null): Result<Unit>
Link copied to clipboard
abstract suspend fun getNotifications(from: String? = null, limit: Long? = null, only: String? = null, asUserId: UserId? = null): Result<GetNotifications.Response>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getPushRule(scope: String, kind: PushRuleKind, ruleId: String, asUserId: UserId? = null): Result<PushRule>
Link copied to clipboard
abstract suspend fun getPushRuleActions(scope: String, kind: PushRuleKind, ruleId: String, asUserId: UserId? = null): Result<Set<PushAction>>
Link copied to clipboard
abstract suspend fun getPushRuleEnabled(scope: String, kind: PushRuleKind, ruleId: String, asUserId: UserId? = null): Result<Boolean>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun setPushers(request: SetPushers.Request, asUserId: UserId? = null): Result<Unit>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard