Layer 220
WebDocumentNoProxy
Remote document that can be downloaded without proxying through telegram
constructor
webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = WebDocument;
Parameters
| Name | Type | Description |
|---|---|---|
| Url | string | Document URL |
| Size | int | File size |
| MimeType | string | MIME type |
| Attributes | Vector<DocumentAttribute> | Attributes for media types |
Returns
WebDocumentGogram Example
// Creating WebDocumentNoProxy constructor obj := &tg.WebDocumentNoProxy{ Url: "...", Size: 0, MimeType: "...", Attributes: []tg.DocumentAttribute{&tg.DocumentAttribute{}}, }