Layer 224
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: "Hello, World!",
    Size: 42,
    MimeType: "Hello, World!",
    Attributes: []tg.DocumentAttribute{&tg.DocumentAttribute{}},
}