Metadata-Version: 2.1
Name: fps_channels
Version: 1.4
Description-Content-Type: text/markdown
Requires-Dist: pandas~=2.1.3
Requires-Dist: dataframe-image~=0.2.3
Requires-Dist: tenacity~=8.2.3
Requires-Dist: lxml~=5.1.0
Requires-Dist: openpyxl~=3.1.2
Requires-Dist: aiohttp~=3.9.5
Requires-Dist: requests~=2.32.3

# A package for convenient sending errors/messages

As for now fps_channels supports sending data through Telegram in formats such as .xlsx, .png, plain text.

It supports both async and sync sending.

## Example (sync)



```
class TelegramAlertChannel(TelegramChannel):
    SHOW_FILENAME = True
    HEADER = "️🆘️ Header text"

alert_channel = TelegramAlertChannel(
    bot_token="bot:token",
    chat_id=12345
)
alert_channel.send_message("Message")
```

## Example (async)



```
class AsyncTelegramAlertChannel(AsyncTelegramChannel):
    SHOW_FILENAME = True
    HEADER = "️🆘️ Header text"

async alert_channel = AsyncTelegramAlertChannel(
    bot_token="bot:token",
    chat_id=12345
)
await alert_channel.send_message("Message")
```

