import type { Filter, User } from '@puregram/api'; /** * match when `from.id` is one of the supplied ids. varargs or readonly array. * covers every `from`-bearing update including queries and chat-member events */ export declare function from(ids: readonly number[]): Filter; export declare function from(...ids: number[]): Filter; /** * match when the sender is another bot (`from.is_bot === true`) */ export declare const fromBot: Filter & { isBot: true; }; }>; /** * match when the sender is a Telegram Premium user (`from.is_premium === true`) */ export declare const fromPremium: Filter & { isPremium: true; }; }>; /** * match when the message was sent through an inline bot (`via_bot` set on the * message payload) */ export declare const viaBot: Filter; /** * match when the message was sent as the chat itself (anonymous admin or * channel signature). detected when `from.id` equals `chat.id` */ export declare const anonymous: Filter; //# sourceMappingURL=sender.d.ts.map