@@ -789,10 +789,10 @@ class FastBot {
789
789
}
790
790
791
791
// ===================== FILE =====================
792
- uint8_t sendFile (uint8_t * buf, uint16_t length, FB_FileType type, const String& name, const String& id) {
792
+ uint8_t sendFile (uint8_t * buf, uint32_t length, FB_FileType type, const String& name, const String& id) {
793
793
return _sendFile (buf, length, type, name, id);
794
794
}
795
- uint8_t sendFile (uint8_t * buf, uint16_t length, FB_FileType type, const String& name) {
795
+ uint8_t sendFile (uint8_t * buf, uint32_t length, FB_FileType type, const String& name) {
796
796
return sendFile (buf, length, type, name, chatIDs);
797
797
}
798
798
@@ -805,10 +805,10 @@ class FastBot {
805
805
}
806
806
#endif
807
807
808
- uint8_t editFile (uint8_t * buf, uint16_t length, FB_FileType type, const String& name, int32_t msgid, const String& id) {
808
+ uint8_t editFile (uint8_t * buf, uint32_t length, FB_FileType type, const String& name, int32_t msgid, const String& id) {
809
809
return _editFile (buf, length, type, name, msgid, id);
810
810
}
811
- uint8_t editFile (uint8_t * buf, uint16_t length, FB_FileType type, const String& name, int32_t msgid) {
811
+ uint8_t editFile (uint8_t * buf, uint32_t length, FB_FileType type, const String& name, int32_t msgid) {
812
812
return editFile (buf, length, type, name, msgid, chatIDs);
813
813
}
814
814
0 commit comments