class Cisco::Webex::Models::Message

Included Modules

Extended Modules

Defined in:

cisco/webex/models/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def attachments : Array(String) | Nil #

Message content attachments attached to the message.


[View source]
def attachments=(attachments : Array(String) | Nil) #

Message content attachments attached to the message.


[View source]
def created : String #

The date and time the message was created.


[View source]
def created=(created : String) #

The date and time the message was created.


[View source]
def files : Array(String) | Nil #

Public URLs for files attached to the message.


[View source]
def files=(files : Array(String) | Nil) #

Public URLs for files attached to the message.


[View source]
def html : String | Nil #

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


[View source]
def html=(html : String | Nil) #

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


[View source]
def id : String #

The unique identifier for the message.


[View source]
def id=(id : String) #

The unique identifier for the message.


[View source]
def markdown : String | Nil #

The message, in Markdown format.


[View source]
def markdown=(markdown : String | Nil) #

The message, in Markdown format.


[View source]
def mentioned_groups : Array(String) | Nil #

Group names for the groups mentioned in the message.


[View source]
def mentioned_groups=(mentioned_groups : Array(String) | Nil) #

Group names for the groups mentioned in the message.


[View source]
def mentioned_people : Array(String) | Nil #

People IDs for anyone mentioned in the message.


[View source]
def mentioned_people=(mentioned_people : Array(String) | Nil) #

People IDs for anyone mentioned in the message.


[View source]
def parent_id : String | Nil #

The unique identifier for the parent message.


[View source]
def parent_id=(parent_id : String | Nil) #

The unique identifier for the parent message.


[View source]
def person_email : String #

The email address of the message author.


[View source]
def person_email=(person_email : String) #

The email address of the message author.


[View source]
def person_id : String #

The person ID of the message author.


[View source]
def person_id=(person_id : String) #

The person ID of the message author.


[View source]
def room_id : String #

The room ID of the message.


[View source]
def room_id=(room_id : String) #

The room ID of the message.


[View source]
def room_type : String #

The type of room.


[View source]
def room_type=(room_type : String) #

The type of room.


[View source]
def text : String #

The message, in plain text.


[View source]
def text=(text : String) #

The message, in plain text.


[View source]
def to_person_email : String | Nil #

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


[View source]
def to_person_email=(to_person_email : String | Nil) #

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


[View source]
def to_person_id : String | Nil #

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


[View source]
def to_person_id=(to_person_id : String | Nil) #

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


[View source]
def updated : String | Nil #

The date and time the message was created.


[View source]
def updated=(updated : String | Nil) #

The date and time the message was created.


[View source]