Announcement
import type { Announcement } from "https://googleapis.deno.dev/v1/classroom:v1.ts";
Announcement created by a teacher for students of the course
interface Announcement {
alternateLink?: string;
assigneeMode?: "ASSIGNEE_MODE_UNSPECIFIED" | "ALL_STUDENTS" | "INDIVIDUAL_STUDENTS";
courseId?: string;
creationTime?: Date;
creatorUserId?: string;
id?: string;
individualStudentsOptions?: IndividualStudentsOptions;
materials?: Material[];
scheduledTime?: Date;
state?:
| "ANNOUNCEMENT_STATE_UNSPECIFIED"
| "PUBLISHED"
| "DRAFT"
| "DELETED";
text?: string;
updateTime?: Date;
}§Properties
§
alternateLink?: string
[src]Absolute link to this announcement in the Classroom web UI. This is only
populated if state
is PUBLISHED
. Read-only.
§
assigneeMode?: "ASSIGNEE_MODE_UNSPECIFIED" | "ALL_STUDENTS" | "INDIVIDUAL_STUDENTS"
[src]Assignee mode of the announcement. If unspecified, the default value is
ALL_STUDENTS
.
§
individualStudentsOptions?: IndividualStudentsOptions
[src]Identifiers of students with access to the announcement. This field is set
only if assigneeMode
is INDIVIDUAL_STUDENTS
. If the assigneeMode
is
INDIVIDUAL_STUDENTS
, then only students specified in this field can see
the announcement.
§
state?: "ANNOUNCEMENT_STATE_UNSPECIFIED" | "PUBLISHED" | "DRAFT" | "DELETED"
[src]Status of this announcement. If unspecified, the default state is DRAFT
.