Announcement

A one-way broadcast sent to every user in the organization or to the members of selected chats, either immediately or at a scheduled time. read_at, dismissed_at, sent_count and read_count are relative to the requesting user.

  • Properties: 8
  • Chats whose members receive the announcement. Viewer-scoped: the sender and users with the organization's delete_any_announcement permission see every targeted chat; other recipients see only the targeted chats they are currently a member of, so the array can be empty even when organization_wide is false (for example, for a recipient who has since left the chat). Empty when organization_wide is true.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • When the calling user dismissed (archived) this announcement, or null. Dismissed announcements are hidden from the list unless filter[dismissed]=true.

  • Integer numbers.

  • Detected language of text, or null when it could not be determined.

  • true when the announcement targets every user in the organization.

  • When the requesting user read the announcement. null if they have not read it or are not a recipient.

  • When the announcement is (or was) scheduled to be sent. null for announcements sent immediately.

  • When the announcement was sent. null until it has been sent.

  • scheduled until the send time is reached, sending while delivery is in progress, then sent or failed.

    values
    scheduledsendingsentfailed
  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • ID of the user who sent (or scheduled) the announcement.

  • Number of recipients who have read the announcement. Only present for the sender and for users with the organization's delete_any_announcement permission.

  • Number of users the announcement was delivered to. Only present for the sender and for users with the organization's delete_any_announcement permission.

  • The announcement text translated into your language. Only present when requested with include=translation; null when no translation is available.

    Properties: 2
  • The user who sent the announcement. Only present when loaded.

    Properties: 22