messageEntityDiffInsert #

Represents an diff addition: render it by simply underlining the specified section and coloring it in green, see here » for more info on how to render diff entities.

Layer 223

Constructor schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
offsetintOffset of message entity within message (in UTF-16 code units)
lengthintLength of message entity within message (in UTF-16 code units)

Type #

MessageEntity

Styled text with message entities #

How to create styled text with message entities