import { type ChatJoinRequestXFragment } from "https://deno.land/x/grammy_hydrate@v1.4.1/data/chat-join-request.ts";
Methods
approve(signal?: AbortSignal): Ret<"approveChatJoinRequest">
Join chat request-aware alias for api.approveChatJoinRequest
. Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
decline(signal?: AbortSignal): Ret<"declineChatJoinRequest">
Join chat request-aware alias for api.declineChatJoinRequest
. Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.