1#![warn(missing_docs)]
44
45pub mod background;
47pub mod business;
49pub mod chat;
51pub mod chat_member;
53pub mod checklist;
55pub mod community;
57pub mod direct_messages;
59pub mod file;
61pub mod forum;
63pub mod games;
65pub mod gifts;
67pub mod giveaway;
69pub mod inline;
71pub mod keyboard;
73pub mod managed_bot;
75pub mod message;
77pub mod passport;
79pub mod payments;
81pub mod poll;
83pub mod reaction;
85pub mod rich_message;
87pub mod shared;
89pub mod sticker;
91pub mod story;
93pub mod suggested_post;
95pub mod update;
97pub mod user;
99pub mod video_chat;
101pub mod webhook;
103
104pub use background::{
105 BackgroundFill, BackgroundFillFreeformGradient, BackgroundFillGradient, BackgroundFillSolid,
106 BackgroundType, BackgroundTypeChatTheme, BackgroundTypeFill, BackgroundTypePattern,
107 BackgroundTypeWallpaper, ChatBackground,
108};
109pub use business::{
110 Birthdate, BusinessIntro, BusinessLocation, BusinessOpeningHours, BusinessOpeningHoursInterval,
111 UserRating,
112};
113pub use chat::{
114 Chat, ChatFullInfo, ChatInviteLink, ChatJoinRequest, ChatLocation, ChatPermissions, ChatPhoto,
115 ChatType, InputMediaLink, Link, Location, Venue,
116};
117pub use chat_member::{
118 ChatMember, ChatMemberAdministrator, ChatMemberBanned, ChatMemberLeft, ChatMemberMember,
119 ChatMemberOwner, ChatMemberRestricted,
120};
121pub use checklist::{
122 Checklist, ChecklistTask, ChecklistTasksAdded, ChecklistTasksDone, InputChecklist,
123 InputChecklistTask,
124};
125pub use community::{Community, CommunityChatAdded, CommunityChatRemoved};
126pub use direct_messages::{
127 DirectMessagePriceChanged, DirectMessagesTopic, PaidMessagePriceChanged,
128};
129pub use file::{
130 Animation, Audio, Document, File, InputFile, InputMedia, InputMediaAnimation, InputMediaAudio,
131 InputMediaDocument, InputMediaLivePhoto, InputMediaLocation, InputMediaPhoto,
132 InputMediaSticker, InputMediaVenue, InputMediaVideo, InputMediaVoiceNote, InputPaidMedia,
133 InputPaidMediaLivePhoto, InputPaidMediaPhoto, InputPaidMediaVideo, InputProfilePhoto,
134 InputProfilePhotoAnimated, InputProfilePhotoStatic, LivePhoto, PassportFile, PhotoSize, Video,
135 VideoNote, VideoQuality, Voice,
136};
137pub use forum::{
138 ForumTopic, ForumTopicClosed, ForumTopicCreated, ForumTopicEdited, ForumTopicReopened,
139 GeneralForumTopicHidden, GeneralForumTopicUnhidden,
140};
141pub use games::{CallbackGame, Game, GameHighScore};
142pub use gifts::{
143 Gift, GiftBackground, GiftInfo, Gifts, UniqueGift, UniqueGiftBackdrop,
144 UniqueGiftBackdropColors, UniqueGiftColors, UniqueGiftInfo, UniqueGiftModel, UniqueGiftSymbol,
145};
146pub use giveaway::{Giveaway, GiveawayCompleted, GiveawayCreated, GiveawayWinners};
147pub use inline::{
148 ChosenInlineResult, InlineQuery, InlineQueryResult, InlineQueryResultArticle,
149 InlineQueryResultAudio, InlineQueryResultCachedAudio, InlineQueryResultCachedDocument,
150 InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto,
151 InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice,
152 InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultGame,
153 InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif,
154 InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice,
155 InlineQueryResultsButton, InputContactMessageContent, InputInvoiceMessageContent,
156 InputLocationMessageContent, InputMessageContent, InputTextMessageContent,
157 InputVenueMessageContent, PreparedInlineMessage, SentGuestMessage, SentWebAppMessage,
158};
159pub use keyboard::{
160 ButtonStyle, CopyTextButton, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
161 KeyboardButton, KeyboardButtonPollType, KeyboardButtonRequestChat,
162 KeyboardButtonRequestManagedBot, KeyboardButtonRequestUsers, LoginUrl, MenuButton,
163 PreparedKeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, ReplyMarkup,
164 SwitchInlineQueryChosenChat,
165};
166pub use managed_bot::ManagedBotCreated;
167pub use message::{
168 ChatOwnerChanged, ChatOwnerLeft, Contact, Dice, ExternalReplyInfo, InaccessibleMessage,
169 LinkPreviewOptions, MaybeInaccessibleMessage, Message, MessageAutoDeleteTimerChanged,
170 MessageEntity, MessageEntityKind, MessageId, MessageOrigin, ParseMode, ProximityAlertTriggered,
171 ReactionType, ReplyParameters, TextQuote, WebAppData, WebAppInfo, WriteAccessAllowed,
172};
173pub use passport::{
174 EncryptedCredentials, EncryptedPassportElement, PassportData, PassportElementError,
175};
176pub use payments::{
177 AcceptedGiftTypes, AffiliateInfo, BotSubscriptionUpdated, Invoice, LabeledPrice, OrderInfo,
178 OwnedGift, OwnedGiftRegular, OwnedGiftUnique, OwnedGifts, PaidMedia, PaidMediaInfo,
179 PaidMediaLivePhoto, PaidMediaPhoto, PaidMediaPreview, PaidMediaVideo, PreCheckoutQuery,
180 RefundedPayment, RevenueWithdrawalState, ShippingAddress, ShippingOption, ShippingQuery,
181 StarAmount, StarTransaction, StarTransactions, SuccessfulPayment, TransactionPartner,
182 TransactionPartnerAffiliateProgram, TransactionPartnerChat, TransactionPartnerFragment,
183 TransactionPartnerTelegramApi, TransactionPartnerUser,
184};
185pub use poll::{
186 InputPollMedia, InputPollOption, InputPollOptionMedia, Poll, PollAnswer, PollMedia, PollOption,
187 PollOptionAdded, PollOptionDeleted, PollType,
188};
189pub use rich_message::{
190 InputRichBlock, InputRichBlockAnchor, InputRichBlockAnimation, InputRichBlockAudio,
191 InputRichBlockBlockQuotation, InputRichBlockCollage, InputRichBlockDetails,
192 InputRichBlockDivider, InputRichBlockFooter, InputRichBlockList, InputRichBlockListItem,
193 InputRichBlockMap, InputRichBlockMathematicalExpression, InputRichBlockParagraph,
194 InputRichBlockPhoto, InputRichBlockPreformatted, InputRichBlockPullQuotation,
195 InputRichBlockSectionHeading, InputRichBlockSlideshow, InputRichBlockTable,
196 InputRichBlockThinking, InputRichBlockVideo, InputRichBlockVoiceNote, InputRichMessage,
197 InputRichMessageContent, InputRichMessageMedia, InputRichMessageMediaKind, RichBlock,
198 RichBlockAnchor, RichBlockAnimation, RichBlockAudio, RichBlockBlockQuotation, RichBlockCaption,
199 RichBlockCollage, RichBlockDetails, RichBlockDivider, RichBlockFooter, RichBlockList,
200 RichBlockListItem, RichBlockMap, RichBlockMathematicalExpression, RichBlockParagraph,
201 RichBlockPhoto, RichBlockPreformatted, RichBlockPullQuotation, RichBlockSectionHeading,
202 RichBlockSlideshow, RichBlockTable, RichBlockTableCell, RichBlockThinking, RichBlockVideo,
203 RichBlockVoiceNote, RichMessage, RichText, RichTextAnchor, RichTextAnchorLink,
204 RichTextBankCardNumber, RichTextBold, RichTextBotCommand, RichTextCashtag, RichTextCode,
205 RichTextCustomEmoji, RichTextDateTime, RichTextEmailAddress, RichTextHashtag, RichTextItalic,
206 RichTextMarked, RichTextMathematicalExpression, RichTextMention, RichTextNode,
207 RichTextPhoneNumber, RichTextReference, RichTextReferenceLink, RichTextSpoiler,
208 RichTextStrikethrough, RichTextSubscript, RichTextSuperscript, RichTextTextMention,
209 RichTextUnderline, RichTextUrl,
210};
211pub use shared::{ChatShared, SharedUser, UsersShared};
212pub use sticker::{
213 InputSticker, MaskPoint, MaskPosition, Sticker, StickerFormat, StickerSet, StickerType,
214};
215pub use story::{
216 InputStoryContent, InputStoryContentPhoto, InputStoryContentVideo, LocationAddress, Story,
217 StoryArea, StoryAreaPosition, StoryAreaType,
218};
219pub use suggested_post::{
220 SuggestedPostApprovalFailed, SuggestedPostApproved, SuggestedPostDeclined, SuggestedPostInfo,
221 SuggestedPostPaid, SuggestedPostParameters, SuggestedPostPrice, SuggestedPostRefunded,
222};
223pub use update::{
224 BusinessBotRights, BusinessConnection, BusinessMessagesDeleted, CallbackQuery, ChatBoost,
225 ChatBoostAdded, ChatBoostRemoved, ChatBoostSource, ChatBoostSourceGiftCode,
226 ChatBoostSourceGiveaway, ChatBoostSourcePremium, ChatBoostUpdated, ChatMemberUpdated,
227 ManagedBotUpdated, MessageReactionCountUpdated, MessageReactionUpdated, PaidMediaPurchased,
228 ReactionCount, Update, UpdateKind, UserChatBoosts,
229};
230pub use user::{
231 BotAccessSettings, BotCommand, BotCommandScope, BotDescription, BotName, BotShortDescription,
232 ChatAdministratorRights, ChatId, User, UserProfileAudios, UserProfilePhotos,
233};
234pub use video_chat::{
235 VideoChatEnded, VideoChatParticipantsInvited, VideoChatScheduled, VideoChatStarted,
236};
237pub use webhook::WebhookInfo;