class

Webex::Models::Message

Inherits JSON::Serializable < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

attachments

Message content attachments attached to the message.

Source
attachments=(attachments : Array(Attachment) | Nil)

Message content attachments attached to the message.

Source
created

The date and time the message was created.

Source
created=(created : String | Nil)

The date and time the message was created.

Source
files

Public URLs for files attached to the message.

Source
files=(files : Array(String) | Nil)

Public URLs for files attached to the message.

Source
html

The text content of the message, in HTML format. This read-only property is used by the Webex Teams clients.

Source
html=(html : String | Nil)

The text content of the message, in HTML format. This read-only property is used by the Webex Teams clients.

Source
id

The unique identifier for the message.

Source
id=(id : String | Nil)

The unique identifier for the message.

Source
markdown

The message, in Markdown format.

Source
markdown=(markdown : String | Nil)

The message, in Markdown format.

Source
mentioned_groups

Group names for the groups mentioned in the message.

Source
mentioned_groups=(mentioned_groups : Array(String) | Nil)

Group names for the groups mentioned in the message.

Source
mentioned_people

People IDs for anyone mentioned in the message.

Source
mentioned_people=(mentioned_people : Array(String) | Nil)

People IDs for anyone mentioned in the message.

Source
parent_id

The unique identifier for the parent message.

Source
parent_id=(parent_id : String | Nil)

The unique identifier for the parent message.

Source
person_email

The email address of the message author.

Source
person_email=(person_email : String | Nil)

The email address of the message author.

Source
person_id

The person ID of the message author.

Source
person_id=(person_id : String | Nil)

The person ID of the message author.

Source
room_id

The room ID of the message.

Source
room_id=(room_id : String | Nil)

The room ID of the message.

Source
room_type

The type of room.

Source
room_type=(room_type : String | Nil)

The type of room.

Source
text

The message, in plain text.

Source
text=(text : String | Nil)

The message, in plain text.

Source
to_person_email

The email address of the recipient when sending a 1:1 message.

Source
to_person_email=(to_person_email : String | Nil)

The email address of the recipient when sending a 1:1 message.

Source
to_person_id

The person ID of the recipient when sending a 1:1 message.

Source
to_person_id=(to_person_id : String | Nil)

The person ID of the recipient when sending a 1:1 message.

Source
updated

The date and time the message was created.

Source
updated=(updated : String | Nil)

The date and time the message was created.

Source