@@ -789,10 +789,10 @@ class FastBot {
789789 }
790790
791791 // ===================== 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) {
793793 return _sendFile (buf, length, type, name, id);
794794 }
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) {
796796 return sendFile (buf, length, type, name, chatIDs);
797797 }
798798
@@ -805,10 +805,10 @@ class FastBot {
805805 }
806806#endif
807807
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) {
809809 return _editFile (buf, length, type, name, msgid, id);
810810 }
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) {
812812 return editFile (buf, length, type, name, msgid, chatIDs);
813813 }
814814
0 commit comments