feat(dispatcher): filters.story
This commit is contained in:
parent
6a6cff6282
commit
a0ed269b5e
1 changed files with 3 additions and 0 deletions
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue