UNPKG

tgsnake

Version:

Telegram MTProto framework for nodejs.

10 lines (9 loc) 522 B
import { Raw } from '../../platform.node.js'; import type { Snake } from '../../Client/index.js'; export interface getParticipantsParams { offset?: number; limit?: number; query?: string; filter?: 'all' | 'kicked' | 'restricted' | 'bots' | 'recents' | 'administrators' | 'mentions' | 'banned' | 'contacts'; } export declare function getParticipants(client: Snake, chatId: bigint | string, more?: getParticipantsParams): Promise<Raw.TypeChatParticipants | Raw.channels.TypeChannelParticipants | undefined>;