Class
TextMessage

Represents a message that displays simple text.

Definition

Constructors

TextMessage(Author, string, DateTime)

Initializes a new instance of the TextMessage class.

Declaration

cs-api-definition
public TextMessage(Author author, string text, DateTime creationDate = default)

Parameters

author

Author

text

string

creationDate

DateTime

TextMessage(Author, string, string, DateTime)

Initializes a new instance of the TextMessage class.

Declaration

cs-api-definition
public TextMessage(Author author, string text, string status, DateTime creationDate = default)

Parameters

author

Author

text

string

status

string

creationDate

DateTime

Properties

InlineViewModel

Gets the InlineViewModel.

Declaration

cs-api-definition
public InlineViewModel InlineViewModel { get; }

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

Text

Gets or sets the text that gets displayed in the message.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string