File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ bool isEdited();
315315// текст сообщения
316316Text text ();
317317
318+ // подпись файла
319+ Text caption ();
320+
318321// id сообщения в этом чате
319322Text id ();
320323
Original file line number Diff line number Diff line change 11name =FastBot2
2- version =1.0.7
2+ version =1.0.8
33author =AlexGyver <alex@alexgyver.ru>
44maintainer =AlexGyver <alex@alexgyver.ru>
55sentence =Fast and universal Arduino/ESP8266/ESP32 library for Telegram bot
Original file line number Diff line number Diff line change 33#include < GSON.h>
44#include < StringUtils.h>
55
6+ #include " ../EntryAccess.h"
7+ #include " ../api.h"
68#include " ChatRead.h"
79#include " DocumentRead.h"
810#include " LocationRead.h"
911#include " MessageOriginRead.h"
1012#include " UserRead.h"
11- #include " ../EntryAccess.h"
12- #include " ../api.h"
1313
1414namespace fb {
1515
@@ -24,6 +24,11 @@ struct MessageRead : public EntryAccess {
2424 return entry[tg_apih::text];
2525 }
2626
27+ // подпись файла
28+ Text caption () {
29+ return entry[tg_apih::caption];
30+ }
31+
2732 // id сообщения в этом чате
2833 Text id () {
2934 return entry[tg_apih::message_id];
You can’t perform that action at this time.
0 commit comments