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: 8attachmentsType:required
- chatType: array of integer
_ids requiredChats whose members receive the announcement. Viewer-scoped: the sender and users with the organization's
delete_any_announcementpermission see every targeted chat; other recipients see only the targeted chats they are currently a member of, so the array can be empty even whenorganization_wideisfalse(for example, for a recipient who has since left the chat). Empty whenorganization_wideistrue. - createdType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- dismissedType: string | nullFormat: date-time
_at requiredWhen the calling user dismissed (archived) this announcement, or
null. Dismissed announcements are hidden from the list unlessfilter[dismissed]=true. - idType: integerrequired
Integer numbers.
- languageType: string | nullrequired
Detected language of
text, ornullwhen it could not be determined. - organizationType: boolean
_wide requiredtruewhen the announcement targets every user in the organization. - readType: string | nullFormat: date-time
_at requiredWhen the requesting user read the announcement.
nullif they have not read it or are not a recipient. - scheduledType: string | nullFormat: date-time
_at requiredWhen the announcement is (or was) scheduled to be sent.
nullfor announcements sent immediately. - sentType: string | nullFormat: date-time
_at requiredWhen the announcement was sent.
nulluntil it has been sent. - statusType: stringenumrequired
scheduleduntil the send time is reached,sendingwhile delivery is in progress, thensentorfailed.valuesscheduledsendingsentfailed - textType: stringrequired
- updatedType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- userType: integer
_id requiredID of the user who sent (or scheduled) the announcement.
- readType: integer
_count Number of recipients who have read the announcement. Only present for the sender and for users with the organization's
delete_any_announcementpermission. - sentType: integer
_count Number of users the announcement was delivered to. Only present for the sender and for users with the organization's
delete_any_announcementpermission. - translationType: object | nullProperties: 2
The announcement text translated into your language. Only present when requested with
include=translation;nullwhen no translation is available. - userType:Properties: 22
The user who sent the announcement. Only present when loaded.