- Preparing search index...
- The search index is not available
Guilded.JS
Class AnnouncementsService
Methods
announcementCreate
- announcementCreate(options): CancelablePromise<{
announcement: AnnouncementPayload;
}>
-
Parameters
-
options: {
channelId: string;
requestBody: {
content: string | Record<string, any>;
title: string;
};
}
-
channelId: string
-
requestBody: {
content: string | Record<string, any>;
title: string;
}
-
content: string | Record<string, any>
-
title: string
any Success
announcementDelete
- announcementDelete(options): CancelablePromise<void>
-
Parameters
-
options: {
announcementId: string;
channelId: string;
}
-
announcementId: string
-
channelId: string
void
announcementRead
- announcementRead(options): CancelablePromise<{
announcement: AnnouncementPayload;
}>
-
Parameters
-
options: {
announcementId: string;
channelId: string;
}
-
announcementId: string
-
channelId: string
any Success
announcementReadMany
- announcementReadMany(options): CancelablePromise<{
announcements: AnnouncementPayload[];
}>
-
Parameters
-
options: {
before?: string;
channelId: string;
limit?: number;
}
-
Optional
before?: string
-
channelId: string
-
Optional
limit?: number
any Success
announcementUpdate
- announcementUpdate(options): CancelablePromise<{
announcement: AnnouncementPayload;
}>
-
Parameters
-
options: {
announcementId: string;
channelId: string;
requestBody: {
content?: string | Record<string, any>;
title?: string;
};
}
-
announcementId: string
-
channelId: string
-
requestBody: {
content?: string | Record<string, any>;
title?: string;
}
-
Optional
content?: string | Record<string, any>
-
Optional
title?: string
any Success
Create an announcement
Throws
ApiError