class Channel_
extends _Chat_
import { Channel_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Channel/supergroup info
Constructors
new
Channel_(params: { creator?: true; left?: true; broadcast?: true; verified?: true; megagroup?: true; restricted?: true; signatures?: true; min?: true; scam?: true; has_link?: true; has_geo?: true; slowmode_enabled?: true; call_active?: true; call_not_empty?: true; fake?: true; gigagroup?: true; noforwards?: true; join_to_send?: true; join_request?: true; forum?: true; stories_hidden?: true; stories_hidden_min?: true; stories_unavailable?: true; id: bigint; access_hash?: bigint; title: string; username?: string; photo: enums.ChatPhoto; date: number; restriction_reason?: Array<enums.RestrictionReason>; admin_rights?: enums.ChatAdminRights; banned_rights?: enums.ChatBannedRights; default_banned_rights?: enums.ChatBannedRights; participants_count?: number; usernames?: Array<enums.Username>; stories_max_id?: number; color?: enums.PeerColor; profile_color?: enums.PeerColor; emoji_status?: enums.EmojiStatus; level?: number; })Properties
protected
readonly
[params]: ParamsIf set, this supergroup/channel was reported by many users as a fake or scam: be careful when interacting with it.
Whether a user's join request will have to be approved by administrators, toggle using channels.toggleJoinToSend
Whether a user needs to join the supergroup before they can send messages: can be false only for discussion groups », toggle using channels.toggleJoinToSend
Whether this channel or group is protected, thus does not allow forwarding messages from it
Static Properties
readonly
[paramDesc]: ParamDesc