export interface CanvasAnnouncement {
  id: number;
  title: string;
  last_reply_at: string;
  created_at: string;
  delayed_post_at: null | string;
  posted_at: string;
  assignment_id: null | any;
  root_topic_id: null | any;
  position: number;
  podcast_has_student_posts: boolean;
  discussion_type: string;
  lock_at: null | any;
  allow_rating: boolean;
  only_graders_can_rate: boolean;
  sort_by_rating: boolean;
  is_section_specific: boolean;
  user_name: string;
  discussion_subentry_count: number;
  permissions: CanvasAnnouncementPermissions;
  require_initial_post: null | any;
  user_can_see_posts: boolean;
  podcast_url: null | string;
  read_state: string;
  unread_count: number;
  subscribed: boolean;
  attachments: any[];
  published: boolean;
  can_unpublish: boolean;
  locked: boolean;
  can_lock: boolean;
  comments_disabled: boolean;
  author: CanvasAnnouncementAuthor;
  html_url: string;
  url: string;
  pinned: boolean;
  group_category_id: null | any;
  can_group: boolean;
  topic_children: any[];
  group_topic_children: any[];
  context_code: string;
  locked_for_user: boolean;
  message: string;
  subscription_hold: string;
  todo_date: null | any;
}
export interface CanvasAnnouncementPermissions {
  attach: boolean;
  update: boolean;
  reply: boolean;
  delete: boolean;
}
export interface CanvasAnnouncementAuthor {
  id: number;
  display_name: string;
  avatar_image_url: string;
  html_url: string;
  pronouns: null | any;
}
