account.uploadWallPaper
Layer 225
Constructor ID: 0xe39a8f03
Returns: WallPaper
Parameters
| Name | Type | Description |
|---|---|---|
for_chat | bool (flags.0, optional) | |
file | InputFile | |
mime_type | string | |
settings | WallPaperSettings |
Example
go
result, err := client.Raw(&tg.UploadWallPaperRequest{
for_chat: false,
file: nil, // InputFile
mime_type: "",
settings: nil, // WallPaperSettings
})
if err != nil {
panic(err)
}
print(result)