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>messages_getMessagesViews_

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

Get and increase the view counter of a message sent or forwarded from a channel

Constructors

new
messages_getMessagesViews_(params: { peer: enums.InputPeer; id: Array<number>; increment: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
id: Array<number>

ID of message

increment: boolean

Whether to mark the message as viewed and increment the view counter

peer: enums.InputPeer

Peer where the message was found

Static Properties

__F: (params: { peer: enums.InputPeer; id: Array<number>; increment: boolean; }) => enums.messages.MessageViews
readonly
[name]: string
readonly
[paramDesc]: ParamDesc