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

Gogram Example

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