File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ bool isEdited();
315
315
// текст сообщения
316
316
Text text ();
317
317
318
+ // подпись файла
319
+ Text caption ();
320
+
318
321
// id сообщения в этом чате
319
322
Text id ();
320
323
Original file line number Diff line number Diff line change 1
1
name =FastBot2
2
- version =1.0.7
2
+ version =1.0.8
3
3
author =AlexGyver <alex@alexgyver.ru>
4
4
maintainer =AlexGyver <alex@alexgyver.ru>
5
5
sentence =Fast and universal Arduino/ESP8266/ESP32 library for Telegram bot
Original file line number Diff line number Diff line change 3
3
#include < GSON.h>
4
4
#include < StringUtils.h>
5
5
6
+ #include " ../EntryAccess.h"
7
+ #include " ../api.h"
6
8
#include " ChatRead.h"
7
9
#include " DocumentRead.h"
8
10
#include " LocationRead.h"
9
11
#include " MessageOriginRead.h"
10
12
#include " UserRead.h"
11
- #include " ../EntryAccess.h"
12
- #include " ../api.h"
13
13
14
14
namespace fb {
15
15
@@ -24,6 +24,11 @@ struct MessageRead : public EntryAccess {
24
24
return entry[tg_apih::text];
25
25
}
26
26
27
+ // подпись файла
28
+ Text caption () {
29
+ return entry[tg_apih::caption];
30
+ }
31
+
27
32
// id сообщения в этом чате
28
33
Text id () {
29
34
return entry[tg_apih::message_id];
You can’t perform that action at this time.
0 commit comments