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

x/mtkruto/tl/2_types.ts>MessagePeerReaction_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MessagePeerReaction_
import { MessagePeerReaction_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

How a certain peer reacted to the message

Constructors

new
MessagePeerReaction_(params: { big?: true; unread?: true; my?: true; peer_id: enums.Peer; date: number; reaction: enums.Reaction; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
big: true

Whether the specified message reaction » should elicit a bigger and longer reaction

date: number

When was this reaction added

optional
my: true

Starting from layer 159, messages.sendReaction will send reactions from the peer (user or channel) specified using messages.saveDefaultSendAs.
If set, this flag indicates that this reaction was sent by us, even if the peer doesn't point to the current account.

peer_id: enums.Peer

Peer that reacted to the message

reaction: enums.Reaction

Reaction emoji

optional
unread: true

Whether the reaction wasn't yet marked as read by the current user

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc