Layer 227
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.
constructor
messageEntityDiffInsert#71777116 offset:int length:int = MessageEntity;
Parameters
| Name | Type | Description |
|---|---|---|
| Offset | int | Offset of message entity within message (in UTF-16 code units ) |
| Length | int | Length of message entity within message (in UTF-16 code units ) |
Returns
MessageEntityGogram Example
// Creating MessageEntityDiffInsert constructor obj := &tg.MessageEntityDiffInsert{ Offset: 42, Length: 42, }