Skip to main content
Module

x/grammy_hydrate/data/user.ts>UserXFragment

Hydration plugin for API calls and context objects.
Latest
interface UserXFragment
import { type UserXFragment } from "https://deno.land/x/grammy_hydrate@v1.4.1/data/user.ts";

Methods

getProfilePhotos(other?: Other<"getUserProfilePhotos">, signal?: AbortSignal): Ret<"getUserProfilePhotos">
ban(other?: Other<"banChatMember">, signal?: AbortSignal): Ret<"banChatMember">
unban(other?: Other<"unbanChatMember">, signal?: AbortSignal): Ret<"unbanChatMember">
restrict(
permissions: ChatPermissions,
other?: Other<"restrictChatMember">,
signal?: AbortSignal,
): Ret<"restrictChatMember">
promote(other?: Other<"promoteChatMember">, signal?: AbortSignal): Ret<"promoteChatMember">
setCustomTitle(
title: string,
other?: Other<"setChatAdministratorCustomTitle">,
signal?: AbortSignal,
): Ret<"setChatAdministratorCustomTitle">