Layer 224
InputWebDocumentObj
The document
constructor
inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument;
Parameters
| Name | Type | Description |
|---|---|---|
| Url | string | Remote document URL to be downloaded using the appropriate method |
| Size | int | Remote file size |
| MimeType | string | Mime type |
| Attributes | Vector<DocumentAttribute> | Attributes for media types |
Returns
InputWebDocumentGogram Example
// Creating InputWebDocumentObj constructor obj := &tg.InputWebDocumentObj{ Url: "Hello, World!", Size: 42, MimeType: "Hello, World!", Attributes: []tg.DocumentAttribute{&tg.DocumentAttribute{}}, }