Raw.phone.SetCallRating
Rate a call, returns info about the rating message sent to the official voip bot.
phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates;
export namespace Raw {
export namespace phone {
export class SetCallRating {
constructor(params: {
userInitiative?: boolean;
peer: Raw.TypeInputPhoneCall;
rating: number;
comment: string;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x59ead627
Property
userInitiative
: boolean or undefinedWhether the user decided on their own initiative to rate the call
peer
: Raw.TypeInputPhoneCallThe call to rate
rating
: numberRating in 1-5 stars
comment
: stringAn additional comment