feat(dispatcher): filters.story

This commit is contained in:
alina 🌸 2024-12-03 02:35:39 +03:00
parent 6a6cff6282
commit a0ed269b5e
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -19,6 +19,7 @@ import type {
Sticker, Sticker,
StickerSourceType, StickerSourceType,
StickerType, StickerType,
Story,
User, User,
Venue, Venue,
Video, Video,
@ -119,6 +120,8 @@ export const venue: UpdateFilter<Message, { media: Venue }> = mediaOf('venue')
export const poll: UpdateFilter<Message, { media: Poll }> = mediaOf('poll') export const poll: UpdateFilter<Message, { media: Poll }> = mediaOf('poll')
/** Filter messages containing an invoice */ /** Filter messages containing an invoice */
export const invoice: UpdateFilter<Message, { media: Invoice }> = mediaOf('invoice') export const invoice: UpdateFilter<Message, { media: Invoice }> = mediaOf('invoice')
/** Filter messages containing a story */
export const story: UpdateFilter<Message, { media: Story }> = mediaOf('story')
/** /**
* Filter messages containing any location (live or static). * Filter messages containing any location (live or static).