class ChatBannedRights_
extends _ChatBannedRights_
import { ChatBannedRights_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are inverted: if set, a flag does not allow a user to do X.
Constructors
new
ChatBannedRights_(params: { view_messages?: true; send_messages?: true; send_media?: true; send_stickers?: true; send_gifs?: true; send_games?: true; send_inline?: true; embed_links?: true; send_polls?: true; change_info?: true; invite_users?: true; pin_messages?: true; manage_topics?: true; send_photos?: true; send_videos?: true; send_roundvideos?: true; send_audios?: true; send_voices?: true; send_docs?: true; send_plain?: true; until_date: number; })Properties
protected
readonly
[params]: ParamsIf set, does not allow any user to change the description of a supergroup/chat
If set, does not allow a user to embed links in the messages of a supergroup/chat
If set, does not allow any user to create, delete or modify forum topics ».
If set, does not allow a user to send round videos in a supergroup/chat.
Validity of said permissions (it is considered forever any value less then 30 seconds or more then 366 days).
If set, does not allow a user to view messages in a supergroup/channel/chat
Static Properties
readonly
[paramDesc]: ParamDesc