• Preparing search index...
  • The search index is not available
Documentation - v0.23.3
  • Documentation
  • @mtcute/dispatcher
  • filters
  • some

Function some

  • some<State extends object>(
        filter: filters.UpdateFilter<Message, any, State>,
    ): filters.UpdateFilter<MessageContext | BusinessMessageContext, {}, State>
  • For message groups, apply a filter to every message in the group. Filter will match if any message matches.

    Note: This does not apply type modification to any message

    Type Parameters

    • State extends object

    Parameters

    • filter: filters.UpdateFilter<Message, any, State>

    Returns filters.UpdateFilter<MessageContext | BusinessMessageContext, {}, State>

    • Defined in packages/dispatcher/src/filters/group.ts:62

Settings

Member Visibility
Documentation - v0.23.3
  • Loading...

Generated using TypeDoc