Skip to content

Feeds

Pushy operates on feeds — collections of subscribed entities (chats, individual users, etc.).

Every feed has two keys:

  • A key for reading, referred to as tg_key.
    This key can be used to subscribe to the feed in any of the supported receivers.
    By doing this, you consent to receive any notifications sent via the feed that has this key.
    Has the form of tk000000000000000000 (RegExp:tk[0-9a-f]{18}).

  • A key for posting, referred to as api_key.
    This key is required to send and edit notifications via REST API.
    Using this will result in notification being delivered to all the subscribers of the feed that has this key.
    Has the form of ak000000000000000000 (RegExp:ak[0-9a-f]{18})

Feeds are usually created in receivers.