diff options
author | llnulldisk <48621230+llnulldisk@users.noreply.github.com> | 2022-08-31 17:50:50 +0200 |
---|---|---|
committer | llnulldisk <48621230+llnulldisk@users.noreply.github.com> | 2022-08-31 17:50:50 +0200 |
commit | edb32270990eb194459622701ebba1b64192303c (patch) | |
tree | 7307143f471263e9a0f9a052670f4a84d2f73c93 /src/types | |
parent | 416db4c79203f56d8a4c58014371c49309339018 (diff) |
Add Telegram Passport
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/PassportElementError.cpp | 23 |
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"; |