webDocument
Remote document
type tg.WebDocument struct { /* ... */ }
Implements WebDocument.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
URL | string | yes | Document URL |
AccessHash | int64 | yes | Access hash |
Size | int | yes | File size |
MimeType | string | yes | MIME type |
Attributes | []DocumentAttributeClass | yes | Attributes for media types |
References
- Official documentation
- Generated Go reference
- TL definition:
webDocument#1c570ed1