messages.getWebPagePreview
Get preview of webpage
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Message from which to extract the preview |
entities | Vector<MessageEntity> | No | [Message entities for styled text](https://core.telegram.org/api/entities.md) |
Replies
messages.WebPagePreview
MTProto RPC
- 400 · ENTITY_BOUNDS_INVALID — A specified [entity offset or length](https://core.telegram.org/api/entities.md#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities.md#entity-length) for info on how to properly compute the entity offset/length.
- 400 · MESSAGE_EMPTY — The provided message is empty.