Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>phone_setCallRating_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class phone_setCallRating_
extends Function_<enums.Updates>
import { phone_setCallRating_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Rate a call, returns info about the rating message sent to the official VoIP bot.

Constructors

new
phone_setCallRating_(params: { user_initiative?: true; peer: enums.InputPhoneCall; rating: number; comment: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
comment: string

An additional comment

peer: enums.InputPhoneCall

The call to rate

rating: number

Rating in 1-5 stars

optional
user_initiative: true

Whether the user decided on their own initiative to rate the call

Static Properties

__F: (params: { user_initiative?: true; peer: enums.InputPhoneCall; rating: number; comment: string; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc