ChatMessageBoxSettingsBuilder

Methods

Mode(System.String)

The input mode for the message box: "single": Single-line text input; "multi": Multi-line textarea with fixed rows or "auto": Auto-expanding textarea that grows as the user types.

Parameters

value - System.String

The value for Mode

RETURNS

Returns the current ChatMessageBoxSettingsBuilder instance.

Rows(System.Double)

The initial number of visible rows when mode is "multi".

Parameters

value - System.Double

The value for Rows

RETURNS

Returns the current ChatMessageBoxSettingsBuilder instance.

MaxTextAreaHeight(System.Double)

The maximum height of the textarea in pixels. When set, the textarea will stop expanding and show a scrollbar.

Parameters

value - System.Double

The value for MaxTextAreaHeight

RETURNS

Returns the current ChatMessageBoxSettingsBuilder instance.