Layer 220
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

WebDocument

Gogram Example

// Creating WebDocumentNoProxy constructor
obj := &tg.WebDocumentNoProxy{
    Url: "...",
    Size: 0,
    MimeType: "...",
    Attributes: []tg.DocumentAttribute{&tg.DocumentAttribute{}},
}