mirror of https://github.com/arendst/Tasmota.git
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
|
||||
- NTP fallback server functionality (#9739)
|
||||
- Telegram group chatid not supported (#9831)
|
||||
|
||||
### Removed
|
||||
- Version compatibility check
|
||||
|
|
|
@ -72,6 +72,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
|
|||
|
||||
### Fixed
|
||||
- NTP fallback server functionality (#9739)
|
||||
- Telegram group chatid not supported (#9831)
|
||||
|
||||
### Removed
|
||||
- Version compatibility check
|
||||
|
|
|
@ -66,7 +66,7 @@ typedef struct {
|
|||
// String from_last_name;
|
||||
// uint32_t from_id = 0;
|
||||
uint32_t update_id = 0;
|
||||
uint32_t chat_id = 0;
|
||||
int32_t chat_id = 0;
|
||||
} TelegramMessage;
|
||||
|
||||
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"));
|
||||
|
||||
if (!TelegramInit()) { return false; }
|
||||
|
|
Loading…
Reference in New Issue