Layer 228
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: "https://example.com",
    Size: 42,
    MimeType: "application/octet-stream",
    Attributes: []tg.DocumentAttribute{&tg.DocumentAttributeAnimated{}},
}