Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
telebot-passport.h
Go to the documentation of this file.
1/*
2 * telebot
3 *
4 * Copyright (c) 2015 Elmurod Talipov.
5 *
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19#ifndef __TELEBOT_PASSPORT_H__
20#define __TELEBOT_PASSPORT_H__
21
22#include <stdbool.h>
23#include "telebot-types.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
46 long long int user_id, const char *errors);
47
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* __TELEBOT_PASSPORT_H__ */
struct telebot_handler * telebot_handler_t
This is opaque object to represent a telebot handler.
Definition telebot-types.h:3489
telebot_error_e
Enumerations of error code for telebot programming interface.
Definition telebot-common.h:45
telebot_error_e telebot_set_passport_data_errors(telebot_handler_t handle, long long int user_id, const char *errors)
Use this method to set passport data errors.
This file contains types used to create telegram bot.