Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.

Constructors

new
InputMessageEntityMentionName_(params: { offset: number; length: number; user_id: enums.InputUser; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
length: number

Length of message entity within message (in UTF-16 code units)

offset: number

Offset of message entity within message (in UTF-16 code units)

user_id: enums.InputUser

Identifier of the user that was mentioned

Static Properties

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