ChatPinnedMessageBuilder

Methods

Files(System.Collections.Generic.IEnumerable)

Sets the attached files to the message.

Parameters

files - System.Collections.Generic.IEnumerable<ChatFile>

Id(System.String)

The unique identifier of the message.

Parameters

value - System.String

The value for Id

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

Text(System.String)

The text of the message.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

AuthorId(System.String)

The author's unique identifier.

Parameters

value - System.String

The value for AuthorId

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

AuthorName(System.String)

The author's name.

Parameters

value - System.String

The value for AuthorName

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

AuthorImageUrl(System.String)

The author's image.

Parameters

value - System.String

The value for AuthorImageUrl

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

AuthorImageAltText(System.String)

The alternative text that will be displayed if no image is present.

Parameters

value - System.String

The value for AuthorImageAltText

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

IsPinned(System.Boolean)

The pin mode of the message.

Parameters

value - System.Boolean

The value for IsPinned

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

IsDeleted(System.Boolean)

Checks if the message is deleted.

Parameters

value - System.Boolean

The value for IsDeleted

RETURNS

Returns the current ChatPinnedMessageBuilder instance.

IsOwnMessage(System.Boolean)

Checks Whether this message belongs to the current user.

Parameters

value - System.Boolean

The value for IsOwnMessage

RETURNS

Returns the current ChatPinnedMessageBuilder instance.