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

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

Choose a channel

Constructors

new
RequestPeerTypeBroadcast_(params?: { creator?: true; has_username?: boolean; user_admin_rights?: enums.ChatAdminRights; bot_admin_rights?: enums.ChatAdminRights; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
bot_admin_rights: enums.ChatAdminRights

If specified, allows only choosing channels where the bot is an admin with at least the specified admin rights.

optional
creator: true

Whether to allow only choosing channels that were created by the current user.

optional
has_username: boolean

If specified, allows only choosing channels with or without a username, according to the value of Bool.

optional
user_admin_rights: enums.ChatAdminRights

If specified, allows only choosing channels where the current user is an admin with at least the specified admin rights.

Static Properties

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