GetInternalTextMessageInfoResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
id_ | int | ❌ | Internal identifier of a message |
uri | str | ❌ | Canonical URI of a message |
attachments | List[MessageAttachmentInfo] | ❌ | The list of message attachments |
availability | MessageAvailabilityEnum | ❌ | Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly |
conversation_id | int | ❌ | SMS and Pager only. Identifier of a conversation that the message belongs to |
conversation | ConversationInfo | ❌ | SMS and Pager only. Information about a conversation the message belongs to |
creation_time | str | ❌ | Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z |
direction | MessageDirectionEnum | ❌ | Text message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound |
from_ | MessageStoreCallerInfoResponseFrom | ❌ | Sender information |
last_modified_time | str | ❌ | Date/time when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z |
message_status | MessageStatusEnum | ❌ | Message status. Different message types may have different allowed status values. For outbound faxes the aggregated message status is returned. If, for outbound message, a status for at least one recipient is 'Queued', then the 'Queued' value is returned. If a status for at least one recipient is 'SendingFailed', then the 'SendingFailed' value is returned. In other cases the 'Sent' status is returned |
pg_to_department | bool | ❌ | Pager only. true if at least one of a message recipients is 'Department' extension |
priority | MessagePriorityEnum | ❌ | Message priority |
read_status | MessageReadStatusEnum | ❌ | Message read status |
subject | str | ❌ | Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment |
to | List[MessageStoreCallerInfoResponseTo] | ❌ | Recipient information |
type_ | GetInternalTextMessageInfoResponseType | ❌ | Message type |
GetInternalTextMessageInfoResponseType
Message type
Properties
Name | Type | Required | Description |
---|---|---|---|
FAX | str | ✅ | "Fax" |
SMS | str | ✅ | "SMS" |
VOICEMAIL | str | ✅ | "VoiceMail" |
PAGER | str | ✅ | "Pager" |
TEXT | str | ✅ | "Text" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs