summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2022-09-01 00:53:57 +0300
committerGitHub <noreply@github.com>2022-09-01 00:53:57 +0300
commitce50cefc0a7b9aea99344a4b0a418544e2deca4a (patch)
treee7a86d9e45bf9b7f50b63a2ab2d0c233f0dab7a4 /src/types
parent4a3f1967ae255b4b9012598a6198fe4c9f17beee (diff)
parent5ed7acc7d8591fbdbbabf8b7d9cef6dbb9a95749 (diff)
Merge pull request #222 from llnulldisk/master
Finish Bot API 4.9
Diffstat (limited to 'src/types')
-rw-r--r--src/types/PassportElementError.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/types/PassportElementError.cpp b/src/types/PassportElementError.cpp
new file mode 100644
index 0000000..d0156a9
--- /dev/null
+++ b/src/types/PassportElementError.cpp
@@ -0,0 +1,23 @@
+#include "tgbot/types/PassportElementErrorDataField.h"
+#include "tgbot/types/PassportElementErrorFrontSide.h"
+#include "tgbot/types/PassportElementErrorReverseSide.h"
+#include "tgbot/types/PassportElementErrorSelfie.h"
+#include "tgbot/types/PassportElementErrorFile.h"
+#include "tgbot/types/PassportElementErrorFiles.h"
+#include "tgbot/types/PassportElementErrorTranslationFile.h"
+#include "tgbot/types/PassportElementErrorTranslationFiles.h"
+#include "tgbot/types/PassportElementErrorUnspecified.h"
+
+#include <string>
+
+using namespace TgBot;
+
+const std::string PassportElementErrorDataField::SOURCE = "data";
+const std::string PassportElementErrorFrontSide::SOURCE = "front_side";
+const std::string PassportElementErrorReverseSide::SOURCE = "reverse_side";
+const std::string PassportElementErrorSelfie::SOURCE = "selfie";
+const std::string PassportElementErrorFile::SOURCE = "file";
+const std::string PassportElementErrorFiles::SOURCE = "files";
+const std::string PassportElementErrorTranslationFile::SOURCE = "translation_file";
+const std::string PassportElementErrorTranslationFiles::SOURCE = "translation_files";
+const std::string PassportElementErrorUnspecified::SOURCE = "unspecified";