Skip to content

Commit 299f7c8

Browse files
committed
Update 4.updates.md
1 parent 49217f9 commit 299f7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/4.updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void update(fb::Update& u) {
228228
```cpp
229229
void update(fb::Update& u) {
230230
// если обновление содержит текст
231-
if (u.has[tg_apih::text]) {
231+
if (u.has(tg_apih::text)) {
232232
// то вывести текст сообщения
233233
Serial.println(u[tg_apih::text]);
234234
}

0 commit comments

Comments
 (0)