Skip to content

/AWS1/CL_AFB=>SENDANNOUNCEMENT()

About SendAnnouncement

Triggers an asynchronous flow to send text, SSML, or audio announcements to rooms that are identified by a search or filter.

Method Signature

IMPORTING

Required arguments:

IT_ROOMFILTERS TYPE /AWS1/CL_AFBFILTER=>TT_FILTERLIST TT_FILTERLIST

The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

IO_CONTENT TYPE REF TO /AWS1/CL_AFBCONTENT /AWS1/CL_AFBCONTENT

The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).

IV_CLIENTREQUESTTOKEN TYPE /AWS1/AFBCLIENTREQUESTTOKEN /AWS1/AFBCLIENTREQUESTTOKEN

The unique, user-specified identifier for the request that ensures idempotency.

Optional arguments:

IV_TIMETOLIVEINSECONDS TYPE /AWS1/AFBTIMETOLIVEINSECONDS /AWS1/AFBTIMETOLIVEINSECONDS

The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the announcement is not delivered.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AFBSENDANNOUNCEMENT01 /AWS1/CL_AFBSENDANNOUNCEMENT01