Skip to content

phone.setCallRating

Layer 225

Constructor ID: 0x59ead627
Returns: Updates

Parameters

NameTypeDescription
user_initiativebool (flags.0, optional)
peerInputPhoneCall
ratingint32
commentstring

Example

go
result, err := client.Raw(&tg.SetCallRatingRequest{
    user_initiative: false,
    peer: nil, // InputPhoneCall
    rating: 0,
    comment: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.