From edb32270990eb194459622701ebba1b64192303c Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Wed, 31 Aug 2022 17:50:50 +0200 Subject: Add Telegram Passport --- src/types/PassportElementError.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/types/PassportElementError.cpp (limited to 'src/types') 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 + +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"; -- cgit v1.2.3