Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.89 KB

RbmSession.md

File metadata and controls

29 lines (22 loc) · 1.89 KB

RbmSession

RCS interactive session information for the message. An interactive session is a 24-hour window covering all Rich and Rich Media messages exchanged between an RCS agent and a specific end user mobile number. It is triggered when at least 4 messages are exchanged within 24 hours, at least 2 of them mobile-originated and at least 1 mobile-terminated. Only present on message-delivered, message-received and session-started callbacks for RBM messages of US agents with the Conversational billing category. Omitted for all other messages.

Properties

Name Type Description Notes
canInitiate boolean Whether the message can start an interactive session. `false` if the message is already part of an active session, or if the agent is not eligible for interactive session billing. [default to undefined]
id string The unique identifier of the interactive session the message is part of. This is not a message ID. Omitted if the message is not part of a session. [optional] [default to undefined]
type string The type of the interactive session. Only present on `session-started` callbacks. [optional] [default to undefined]
startTime string The time the 24-hour session window opened. Only present on `session-started` callbacks. [optional] [default to undefined]
endTime string The time the 24-hour session window closes. Only present on `session-started` callbacks. [optional] [default to undefined]

Example

import { RbmSession } from 'bandwidth-sdk';

const instance: RbmSession = {
    canInitiate,
    id,
    type,
    startTime,
    endTime,
};

[Back to Model list] [Back to API list] [Back to README]