mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
Fixed Telegram group chatid not supported
Fixed Telegram group chatid not supported (#9831)
This commit is contained in:
parent
fade0793c3
commit
9915c9e731
@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- NTP fallback server functionality (#9739)
|
- NTP fallback server functionality (#9739)
|
||||||
|
- Telegram group chatid not supported (#9831)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Version compatibility check
|
- Version compatibility check
|
||||||
|
@ -72,6 +72,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- NTP fallback server functionality (#9739)
|
- NTP fallback server functionality (#9739)
|
||||||
|
- Telegram group chatid not supported (#9831)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Version compatibility check
|
- Version compatibility check
|
||||||
|
@ -66,7 +66,7 @@ typedef struct {
|
|||||||
// String from_last_name;
|
// String from_last_name;
|
||||||
// uint32_t from_id = 0;
|
// uint32_t from_id = 0;
|
||||||
uint32_t update_id = 0;
|
uint32_t update_id = 0;
|
||||||
uint32_t chat_id = 0;
|
int32_t chat_id = 0;
|
||||||
} TelegramMessage;
|
} TelegramMessage;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
@ -248,7 +248,7 @@ void TelegramGetUpdates(uint32_t offset) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TelegramSendMessage(uint32_t chat_id, String text) {
|
bool TelegramSendMessage(int32_t chat_id, String text) {
|
||||||
AddLog_P(LOG_LEVEL_DEBUG_MORE, PSTR("TGM: sendMessage"));
|
AddLog_P(LOG_LEVEL_DEBUG_MORE, PSTR("TGM: sendMessage"));
|
||||||
|
|
||||||
if (!TelegramInit()) { return false; }
|
if (!TelegramInit()) { return false; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user