Represents an diff replacement, render it as follows:
old_text into the text at offset offset, underline it and color it in red: note that this insertion does not affect the offsets of entities that come after it.offset and limit and color it in green.See here » for more info on how to render diff entities.
اسکیمای سازنده از لایه 224 در دسترس است. تغییر »
| 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) |
| old_text | string | The chunk of text that was removed. |
How to create styled text with message entities