{"id":20943267,"url":"https://github.com/kotyara12/retgsend","last_synced_at":"2025-04-11T16:09:46.956Z","repository":{"id":134652908,"uuid":"356285610","full_name":"kotyara12/reTgSend","owner":"kotyara12","description":"Library for sending notifications to Telegram from a device to ESP32. There is a built-in queue of outgoing messages for delayed sending (for example, when there is no Internet)","archived":false,"fork":false,"pushed_at":"2024-11-22T19:30:06.000Z","size":24,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T12:12:02.045Z","etag":null,"topics":["esp-arduino","esp-idf","esp-idf-framework","esp32","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kotyara12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-09T13:44:25.000Z","updated_at":"2024-11-22T19:30:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"033614ca-9ac0-43ea-9dde-55ea0d354ef0","html_url":"https://github.com/kotyara12/reTgSend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotyara12%2FreTgSend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotyara12%2FreTgSend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotyara12%2FreTgSend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotyara12%2FreTgSend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kotyara12","download_url":"https://codeload.github.com/kotyara12/reTgSend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438510,"owners_count":21103409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-arduino","esp-idf","esp-idf-framework","esp32","telegram","telegram-bot"],"created_at":"2024-11-18T23:35:21.655Z","updated_at":"2025-04-11T16:09:46.937Z","avatar_url":"https://github.com/kotyara12.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reTgSend for ESP32 and ESP-IDF\n\nLibrary for sending notifications to Telegram from a device to ESP32. There is a built-in queue of outgoing messages for delayed sending (for example, when there is no Internet)\n\n## Dependencies:\n  - https://github.com/kotyara12/rLog\n  - https://github.com/kotyara12/rStrings\n  - https://github.com/kotyara12/reLed\n  - https://github.com/kotyara12/reWifi\n\n### Notes:\n  - libraries starting with the \u003cb\u003ere\u003c/b\u003e prefix are only suitable for ESP32 and ESP-IDF\n  - libraries starting with the \u003cb\u003era\u003c/b\u003e prefix are only suitable for ARDUINO compatible code\n  - libraries starting with the \u003cb\u003er\u003c/b\u003e prefix can be used in both cases (in ESP-IDF and in ARDUINO)\n\n## Parameters of the module\nThe module is configured using macros located in the general project configuration file \"project_config.h\":\n\n\u003cpre\u003e\n// Allow Telegram notifications (general flag)\n#define CONFIG_TELEGRAM_ENABLE 1\n#if CONFIG_TELEGRAM_ENABLE\n\n// TLS certificate for Telegram API\n#define CONFIG_TELEGRAM_TLS_PEM_START \"_binary_api_telegram_org_pem_start\"\n#define CONFIG_TELEGRAM_TLS_PEM_END \"_binary_api_telegram_org_pem_end\"\n\n// Telegram API bot token\n#define CONFIG_TELEGRAM_TOKEN \"99999999:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"\n\n// Chat or group ID\n#define CONFIG_TELEGRAM_CHAT_ID \"-100123456789\"\n\n// Device name (published at the beginning of each message)\n#define CONFIG_TELEGRAM_DEVICE \"🌦 THS-DEMO\"\n\n// Time format at the end of the notification\n#define CONFIG_TELEGRAM_TIME_FORMAT \"%d.%m.%Y %H:%M:%S\"\n\n// Use static memory allocation for the task and queue. CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION must be enabled!\n#define CONFIG_TELEGRAM_STATIC_ALLOCATION 1\n\n// Stack size for the task of sending notifications to Telegram\n#define CONFIG_TELEGRAM_STACK_SIZE 3072\n\n// Queue size for the task of sending notifications to Telegram\n#define CONFIG_TELEGRAM_QUEUE_SIZE 16\n\n// Priority of the task of sending notifications to Telegram\n#define CONFIG_TELEGRAM_PRIORITY 3\n\n// The processor core for the task of sending notifications to Telegram\n#define CONFIG_TELEGRAM_CORE 1\n\n// Number of attempts to send notifications to Telegram\n#define CONFIG_TELEGRAM_MAX_ATTEMPTS 3\n\n// The interval between attempts to send notifications to Telegram\n#define CONFIG_TELEGRAM_ATTEMPTS_INTERVAL 3000\n\n#endif // CONFIG_TELEGRAM_ENABLE\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotyara12%2Fretgsend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkotyara12%2Fretgsend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotyara12%2Fretgsend/lists"}