Skip to content

photos.updateProfilePhoto

Layer 225

Constructor ID: 0x09e82039
Returns: Photo

Parameters

NameTypeDescription
fallbackbool (flags.0, optional)
botInputUser (flags.1, optional)
idInputPhoto

Example

go
result, err := client.Raw(&tg.UpdateProfilePhotoRequest{
    fallback: false,
    bot: nil, // InputUser
    id: nil, // InputPhoto
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.