Cargo Features
[dependencies]
botx-api = { version = "0.1.7", default-features = false, features = ["botx-api-v-all", "botx-api-v2", "botx-api-v3", "botx-api-v4", "token", "notifications-internal", "notifications-direct", "events-edit_event", "events-reply_event", "events-status", "events-typing", "events-stop_typing", "files-upload", "files-download", "stickers-new_sticker_pack", "stickers-sticker_packs_list", "stickers-add_sticker", "stickers-get_sticker_pack", "stickers-get_sticker", "stickers-update_sticker_pack", "stickers-delete_sticker", "stickers-delete_sticker_pack", "chats-list", "chats-info", "chats-add_user", "chats-remove_user", "chats-add_admin", "chats-set_stealth", "chats-disable_stealth", "chats-create", "chats-pin_message", "chats-unpin_message", "users-by_email", "users-by_huid", "users-by_login", "users-by_other_id", "users-users_as_csv", "anthill-di"] }
- default = botx-api-v-all
-
The
botx-api-v-all
feature is set by default wheneverbotx-api
is added without
somewhere in the dependency tree.default-features = false - botx-api-v-all default = botx-api-v2, botx-api-v3, botx-api-v4
- botx-api-v2 botx-api-v-all = token
- botx-api-v3 botx-api-v-all = chats-add_admin, chats-add_user, chats-create, chats-disable_stealth, chats-info, chats-list, chats-pin_message, chats-remove_user, chats-set_stealth, chats-unpin_message, events-edit_event, events-reply_event, events-status, events-stop_typing, events-typing, files-download, files-upload, stickers-add_sticker, stickers-delete_sticker, stickers-delete_sticker_pack, stickers-get_sticker, stickers-get_sticker_pack, stickers-new_sticker_pack, stickers-sticker_packs_list, stickers-update_sticker_pack, users-by_email, users-by_huid, users-by_login, users-by_other_id, users-users_as_csv
- botx-api-v4 botx-api-v-all = notifications-direct, notifications-internal
- token botx-api-v2?
-
Affects
url::ApiEndpoints.token_api_builder
,v2::token
… - notifications-internal botx-api-v4?
-
Affects
url::ApiEndpoints.internal_notification_api_builder
,notification::internal
… - notifications-direct botx-api-v4?
-
Affects
url::ApiEndpoints.direct_notification_api_builder
,notification::direct
… - events-edit_event botx-api-v3?
-
Affects
url::ApiEndpoints.edit_event_api_builder
,events::edit_event
… - events-reply_event botx-api-v3?
-
Affects
url::ApiEndpoints.reply_event_api_builder
,events::reply_event
… - events-status botx-api-v3?
-
Affects
url::ApiEndpoints.event_status_api_builder
,events::status
… - events-typing botx-api-v3?
-
Affects
url::ApiEndpoints.typing_api_builder
,events::typing
… - events-stop_typing botx-api-v3?
-
Affects
url::ApiEndpoints.stop_typing_api_builder
,events::stop_typing
… - files-upload botx-api-v3?
-
Affects
url::ApiEndpoints.upload_file_api_builder
,files::upload_file
… - files-download botx-api-v3?
-
Affects
url::ApiEndpoints.download_file_api_builder
,files::download_file
… - stickers-new_sticker_pack botx-api-v3?
-
Affects
url::ApiEndpoints.new_sticker_pack_api_builder
,stickers::new_sticker_pack
… - stickers-sticker_packs_list botx-api-v3?
-
Affects
url::ApiEndpoints.sticker_packs_list_api_builder
,stickers::sticker_packs_list
… - stickers-add_sticker botx-api-v3?
-
Affects
url::ApiEndpoints.add_sticker_api_builder
,stickers::add_sticker
… - stickers-get_sticker_pack botx-api-v3?
-
Affects
url::ApiEndpoints.get_sticker_pack_api_builder
,stickers::get_sticker_pack
… - stickers-get_sticker botx-api-v3?
-
Affects
url::ApiEndpoints.get_sticker_api_builder
,stickers::get_sticker
… - stickers-update_sticker_pack botx-api-v3?
-
Affects
url::ApiEndpoints.update_sticker_pack_api_builder
,stickers::update_sticker_pack
… - stickers-delete_sticker botx-api-v3?
-
Affects
url::ApiEndpoints.delete_sticker_api_builder
,stickers::delete_sticker
… - stickers-delete_sticker_pack botx-api-v3?
-
Affects
url::ApiEndpoints.delete_sticker_pack_api_builder
,stickers::delete_sticker_pack
… - chats-list botx-api-v3?
-
Affects
url::ApiEndpoints.get_chats_list_api_builder
,chats::list
… - chats-info botx-api-v3?
-
Affects
url::ApiEndpoints.get_chat_info_api_builder
,chats::info
… - chats-add_user botx-api-v3?
-
Affects
url::ApiEndpoints.add_user_api_builder
,chats::add_user
… - chats-remove_user botx-api-v3?
-
Affects
url::ApiEndpoints.remove_user_api_builder
,chats::remove_user
… - chats-add_admin botx-api-v3?
-
Affects
url::ApiEndpoints.add_admin_api_builder
,chats::add_admin
… - chats-set_stealth botx-api-v3?
-
Affects
url::ApiEndpoints.set_stealth_api_builder
,chats::set_stealth
… - chats-disable_stealth botx-api-v3?
-
Affects
url::ApiEndpoints.disable_stealth_api_builder
,chats::disable_stealth
… - chats-create botx-api-v3?
-
Affects
url::ApiEndpoints.create_chat_api_builder
,chats::create
… - chats-pin_message botx-api-v3?
-
Affects
url::ApiEndpoints.pin_message_api_builder
,chats::pin_message
… - chats-unpin_message botx-api-v3?
-
Affects
url::ApiEndpoints.unpin_message_api_builder
,chats::unpin_message
… - users-by_email botx-api-v3?
-
Affects
url::ApiEndpoints.get_users_by_email_api_builder
,users::by_email
… - users-by_huid botx-api-v3?
-
Affects
url::ApiEndpoints.get_user_by_huid_api_builder
,users::by_huid
… - users-by_login botx-api-v3?
-
Affects
url::ApiEndpoints.get_user_by_login_api_builder
,users::by_login
… - users-by_other_id botx-api-v3?
-
Affects
url::ApiEndpoints.get_user_by_other_id_api_builder
,users::by_other_id
… - users-users_as_csv botx-api-v3?
-
Affects
url::ApiEndpoints.get_users_as_csv_api_builder
,users::users_as_csv
… - anthill-di
-
Enables anthill-di and async-trait-with-sync
Affects
extensions::botx_api_context
…