tdlib-native
Version:
🚀 Telegram TDLib native nodejs wrapper
188 lines (187 loc) • 9.1 kB
JavaScript
import * as types from "./src/generated/types.mjs";
import { $AsyncApi, $Methods, $SyncApi, AffiliateProgramSortOrder$Type, AffiliateType$Type, AuthenticationCodeType$Type, AuthorizationState$Type, AutosaveSettingsScope$Type, BackgroundFill$Type, BackgroundType$Type, BlockList$Type, Bool$Type, BotCommandScope$Type, BotWriteAccessAllowReason$Type, BusinessAwayMessageSchedule$Type, BusinessFeature$Type, CallDiscardReason$Type, CallProblem$Type, CallServerType$Type, CallState$Type, CallbackQueryPayload$Type, CanPostStoryResult$Type, CanSendMessageToUserResult$Type, CanTransferOwnershipResult$Type, ChatAction$Type, ChatActionBar$Type, ChatAvailableReactions$Type, ChatBoostSource$Type, ChatEventAction$Type, ChatList$Type, ChatMemberStatus$Type, ChatMembersFilter$Type, ChatPhotoStickerType$Type, ChatRevenueTransactionType$Type, ChatSource$Type, ChatStatistics$Type, ChatStatisticsObjectType$Type, ChatType$Type, CheckChatUsernameResult$Type, CheckStickerSetNameResult$Type, CollectibleItemType$Type, ConnectionState$Type, DeviceToken$Type, DiceStickers$Type, EmailAddressAuthentication$Type, EmailAddressResetState$Type, EmojiCategorySource$Type, EmojiCategoryType$Type, EmojiStatusType$Type, FileType$Type, FirebaseAuthenticationSettings$Type, FirebaseDeviceVerificationParameters$Type, GiftForResaleOrder$Type, GiveawayInfo$Type, GiveawayParticipantStatus$Type, GiveawayPrize$Type, GroupCallDataChannel$Type, GroupCallVideoQuality$Type, InlineKeyboardButtonType$Type, InlineQueryResult$Type, InlineQueryResultsButtonType$Type, InputBackground$Type, InputChatPhoto$Type, InputCredentials$Type, InputFile$Type, InputGroupCall$Type, InputInlineQueryResult$Type, InputInvoice$Type, InputMessageContent$Type, InputMessageReplyTo$Type, InputPaidMediaType$Type, InputPassportElement$Type, InputPassportElementErrorSource$Type, InputStoryAreaType$Type, InputStoryContent$Type, InternalLinkType$Type, InviteGroupCallParticipantResult$Type, InviteLinkChatType$Type, JsonValue$Type, KeyboardButtonType$Type, LanguagePackStringValue$Type, LinkPreviewAlbumMedia$Type, LinkPreviewType$Type, LogStream$Type, LoginUrlInfo$Type, MaskPoint$Type, MessageContent$Type, MessageEffectType$Type, MessageFileType$Type, MessageOrigin$Type, MessageReadDate$Type, MessageReplyTo$Type, MessageSchedulingState$Type, MessageSelfDestructType$Type, MessageSender$Type, MessageSendingState$Type, MessageSource$Type, MessageTopic$Type, NetworkStatisticsEntry$Type, NetworkType$Type, NotificationGroupType$Type, NotificationSettingsScope$Type, NotificationType$Type, OptionValue$Type, PageBlock$Type, PageBlockHorizontalAlignment$Type, PageBlockVerticalAlignment$Type, PaidMedia$Type, PaidReactionType$Type, PassportElement$Type, PassportElementErrorSource$Type, PassportElementType$Type, PaymentFormType$Type, PaymentProvider$Type, PaymentReceiptType$Type, PhoneNumberCodeType$Type, PollType$Type, PremiumFeature$Type, PremiumLimitType$Type, PremiumSource$Type, PremiumStoryFeature$Type, ProxyType$Type, PublicChatType$Type, PublicForward$Type, PushMessageContent$Type, ReactionNotificationSource$Type, ReactionType$Type, ReactionUnavailabilityReason$Type, ReplyMarkup$Type, ReportChatResult$Type, ReportReason$Type, ReportSponsoredResult$Type, ReportStoryResult$Type, ResendCodeReason$Type, ResetPasswordResult$Type, RevenueWithdrawalState$Type, RichText$Type, SavedMessagesTopicType$Type, SearchMessagesChatTypeFilter$Type, SearchMessagesFilter$Type, SecretChatState$Type, SentGift$Type, SessionType$Type, SpeechRecognitionResult$Type, StarSubscriptionType$Type, StarTransactionType$Type, StatisticalGraph$Type, StickerFormat$Type, StickerFullType$Type, StickerType$Type, StorePaymentPurpose$Type, StoreTransaction$Type, StoryAreaType$Type, StoryContent$Type, StoryInteractionType$Type, StoryList$Type, StoryOrigin$Type, StoryPrivacySettings$Type, SuggestedAction$Type, SuggestedPostPrice$Type, SuggestedPostRefundReason$Type, SuggestedPostState$Type, SupergroupMembersFilter$Type, TMeUrlType$Type, TargetChat$Type, TelegramPaymentPurpose$Type, TextEntityType$Type, TextParseMode$Type, ThumbnailFormat$Type, TonTransactionType$Type, TopChatCategory$Type, TransactionDirection$Type, Update$Type, UpgradedGiftAttributeId$Type, UpgradedGiftOrigin$Type, UserPrivacySetting$Type, UserPrivacySettingRule$Type, UserStatus$Type, UserType$Type, VectorPathCommand$Type, WebAppOpenMode$Type, typename } from "./src/generated/types.mjs";
export {
$AsyncApi,
$Methods,
$SyncApi,
AffiliateProgramSortOrder$Type,
AffiliateType$Type,
AuthenticationCodeType$Type,
AuthorizationState$Type,
AutosaveSettingsScope$Type,
BackgroundFill$Type,
BackgroundType$Type,
BlockList$Type,
Bool$Type,
BotCommandScope$Type,
BotWriteAccessAllowReason$Type,
BusinessAwayMessageSchedule$Type,
BusinessFeature$Type,
CallDiscardReason$Type,
CallProblem$Type,
CallServerType$Type,
CallState$Type,
CallbackQueryPayload$Type,
CanPostStoryResult$Type,
CanSendMessageToUserResult$Type,
CanTransferOwnershipResult$Type,
ChatAction$Type,
ChatActionBar$Type,
ChatAvailableReactions$Type,
ChatBoostSource$Type,
ChatEventAction$Type,
ChatList$Type,
ChatMemberStatus$Type,
ChatMembersFilter$Type,
ChatPhotoStickerType$Type,
ChatRevenueTransactionType$Type,
ChatSource$Type,
ChatStatistics$Type,
ChatStatisticsObjectType$Type,
ChatType$Type,
CheckChatUsernameResult$Type,
CheckStickerSetNameResult$Type,
CollectibleItemType$Type,
ConnectionState$Type,
DeviceToken$Type,
DiceStickers$Type,
EmailAddressAuthentication$Type,
EmailAddressResetState$Type,
EmojiCategorySource$Type,
EmojiCategoryType$Type,
EmojiStatusType$Type,
FileType$Type,
FirebaseAuthenticationSettings$Type,
FirebaseDeviceVerificationParameters$Type,
GiftForResaleOrder$Type,
GiveawayInfo$Type,
GiveawayParticipantStatus$Type,
GiveawayPrize$Type,
GroupCallDataChannel$Type,
GroupCallVideoQuality$Type,
InlineKeyboardButtonType$Type,
InlineQueryResult$Type,
InlineQueryResultsButtonType$Type,
InputBackground$Type,
InputChatPhoto$Type,
InputCredentials$Type,
InputFile$Type,
InputGroupCall$Type,
InputInlineQueryResult$Type,
InputInvoice$Type,
InputMessageContent$Type,
InputMessageReplyTo$Type,
InputPaidMediaType$Type,
InputPassportElement$Type,
InputPassportElementErrorSource$Type,
InputStoryAreaType$Type,
InputStoryContent$Type,
InternalLinkType$Type,
InviteGroupCallParticipantResult$Type,
InviteLinkChatType$Type,
JsonValue$Type,
KeyboardButtonType$Type,
LanguagePackStringValue$Type,
LinkPreviewAlbumMedia$Type,
LinkPreviewType$Type,
LogStream$Type,
LoginUrlInfo$Type,
MaskPoint$Type,
MessageContent$Type,
MessageEffectType$Type,
MessageFileType$Type,
MessageOrigin$Type,
MessageReadDate$Type,
MessageReplyTo$Type,
MessageSchedulingState$Type,
MessageSelfDestructType$Type,
MessageSender$Type,
MessageSendingState$Type,
MessageSource$Type,
MessageTopic$Type,
NetworkStatisticsEntry$Type,
NetworkType$Type,
NotificationGroupType$Type,
NotificationSettingsScope$Type,
NotificationType$Type,
OptionValue$Type,
PageBlock$Type,
PageBlockHorizontalAlignment$Type,
PageBlockVerticalAlignment$Type,
PaidMedia$Type,
PaidReactionType$Type,
PassportElement$Type,
PassportElementErrorSource$Type,
PassportElementType$Type,
PaymentFormType$Type,
PaymentProvider$Type,
PaymentReceiptType$Type,
PhoneNumberCodeType$Type,
PollType$Type,
PremiumFeature$Type,
PremiumLimitType$Type,
PremiumSource$Type,
PremiumStoryFeature$Type,
ProxyType$Type,
PublicChatType$Type,
PublicForward$Type,
PushMessageContent$Type,
ReactionNotificationSource$Type,
ReactionType$Type,
ReactionUnavailabilityReason$Type,
ReplyMarkup$Type,
ReportChatResult$Type,
ReportReason$Type,
ReportSponsoredResult$Type,
ReportStoryResult$Type,
ResendCodeReason$Type,
ResetPasswordResult$Type,
RevenueWithdrawalState$Type,
RichText$Type,
SavedMessagesTopicType$Type,
SearchMessagesChatTypeFilter$Type,
SearchMessagesFilter$Type,
SecretChatState$Type,
SentGift$Type,
SessionType$Type,
SpeechRecognitionResult$Type,
StarSubscriptionType$Type,
StarTransactionType$Type,
StatisticalGraph$Type,
StickerFormat$Type,
StickerFullType$Type,
StickerType$Type,
StorePaymentPurpose$Type,
StoreTransaction$Type,
StoryAreaType$Type,
StoryContent$Type,
StoryInteractionType$Type,
StoryList$Type,
StoryOrigin$Type,
StoryPrivacySettings$Type,
SuggestedAction$Type,
SuggestedPostPrice$Type,
SuggestedPostRefundReason$Type,
SuggestedPostState$Type,
SupergroupMembersFilter$Type,
TMeUrlType$Type,
TargetChat$Type,
TelegramPaymentPurpose$Type,
TextEntityType$Type,
TextParseMode$Type,
ThumbnailFormat$Type,
TonTransactionType$Type,
TopChatCategory$Type,
TransactionDirection$Type,
Update$Type,
UpgradedGiftAttributeId$Type,
UpgradedGiftOrigin$Type,
UserPrivacySetting$Type,
UserPrivacySettingRule$Type,
UserStatus$Type,
UserType$Type,
VectorPathCommand$Type,
WebAppOpenMode$Type,
types as default,
typename
};