class AccountNotifications
extends BaseApi
import { AccountNotifications } from "https://deno.land/x/gesso@v0.1.2/src/AccountNotifications.ts";
Constructors
new
AccountNotifications(config: Configuration)Methods
closeNotificationForUser(): Promise<AccountNotification>
account_id: string,
id: string,
body?: unknown,
createGlobalNotification(): Promise<AccountNotification>
indexOfActiveGlobalNotificationForTheUser(): Promise<AccountNotification[]>
showGlobalNotification(): Promise<AccountNotification>
account_id: string,
id: string,
body?: unknown,
updateGlobalNotification(): Promise<AccountNotification>