diff options
Diffstat (limited to 'src/types/Message.zig')
| -rw-r--r-- | src/types/Message.zig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/types/Message.zig b/src/types/Message.zig index 448ca86..8853747 100644 --- a/src/types/Message.zig +++ b/src/types/Message.zig | |||
| @@ -4,8 +4,11 @@ const Chat = @import("Chat.zig"); | |||
| 4 | const ChatBackground = @import("ChatBackground.zig"); | 4 | const ChatBackground = @import("ChatBackground.zig"); |
| 5 | const ChatBoostAdded = @import("ChatBoostAdded.zig"); | 5 | const ChatBoostAdded = @import("ChatBoostAdded.zig"); |
| 6 | const ChatShared = @import("ChatShared.zig"); | 6 | const ChatShared = @import("ChatShared.zig"); |
| 7 | const ChecklistTasksAdded = @import("ChecklistTasksAdded.zig"); | ||
| 7 | const Contact = @import("Contact.zig"); | 8 | const Contact = @import("Contact.zig"); |
| 8 | const Dice = @import("Dice.zig"); | 9 | const Dice = @import("Dice.zig"); |
| 10 | const DirectMessagePriceChanged = @import("DirectMessagePriceChanged.zig"); | ||
| 11 | const DirectMessagesTopic = @import("DirectMessagesTopic.zig"); | ||
| 9 | const Document = @import("Document.zig"); | 12 | const Document = @import("Document.zig"); |
| 10 | const ExternalReplyInfo = @import("ExternalReplyInfo.zig"); | 13 | const ExternalReplyInfo = @import("ExternalReplyInfo.zig"); |
| 11 | const ForumTopicClosed = @import("ForumTopicClosed.zig"); | 14 | const ForumTopicClosed = @import("ForumTopicClosed.zig"); |
| @@ -15,6 +18,7 @@ const ForumTopicReopened = @import("ForumTopicReopened.zig"); | |||
| 15 | const Game = @import("Game.zig"); | 18 | const Game = @import("Game.zig"); |
| 16 | const GeneralForumTopicHidden = @import("GeneralForumTopicHidden.zig"); | 19 | const GeneralForumTopicHidden = @import("GeneralForumTopicHidden.zig"); |
| 17 | const GeneralForumTopicUnhidden = @import("GeneralForumTopicUnhidden.zig"); | 20 | const GeneralForumTopicUnhidden = @import("GeneralForumTopicUnhidden.zig"); |
| 21 | const GiftInfo = @import("GiftInfo.zig"); | ||
| 18 | const Giveaway = @import("Giveaway.zig"); | 22 | const Giveaway = @import("Giveaway.zig"); |
| 19 | const GiveawayCompleted = @import("GiveawayCompleted.zig"); | 23 | const GiveawayCompleted = @import("GiveawayCompleted.zig"); |
| 20 | const GiveawayCreated = @import("GiveawayCreated.zig"); | 24 | const GiveawayCreated = @import("GiveawayCreated.zig"); |
| @@ -29,6 +33,7 @@ const MessageAutoDeleteTimerChanged = @import("MessageAutoDeleteTimerChanged.zig | |||
| 29 | const MessageEntity = @import("MessageEntity.zig"); | 33 | const MessageEntity = @import("MessageEntity.zig"); |
| 30 | const MessageOrigin = @import("message_origin.zig").MessageOrigin; | 34 | const MessageOrigin = @import("message_origin.zig").MessageOrigin; |
| 31 | const PaidMediaInfo = @import("PaidMediaInfo.zig"); | 35 | const PaidMediaInfo = @import("PaidMediaInfo.zig"); |
| 36 | const PaidMessagePriceChanged = @import("PaidMessagePriceChanged.zig"); | ||
| 32 | const PassportData = @import("PassportData.zig"); | 37 | const PassportData = @import("PassportData.zig"); |
| 33 | const PhotoSize = @import("PhotoSize.zig"); | 38 | const PhotoSize = @import("PhotoSize.zig"); |
| 34 | const Poll = @import("Poll.zig"); | 39 | const Poll = @import("Poll.zig"); |
| @@ -37,7 +42,14 @@ const RefundedPayment = @import("RefundedPayment.zig"); | |||
| 37 | const Sticker = @import("Sticker.zig"); | 42 | const Sticker = @import("Sticker.zig"); |
| 38 | const Story = @import("Story.zig"); | 43 | const Story = @import("Story.zig"); |
| 39 | const SuccessfulPayment = @import("SuccessfulPayment.zig"); | 44 | const SuccessfulPayment = @import("SuccessfulPayment.zig"); |
| 45 | const SuggestedPostApprovalFailed = @import("SuggestedPostApprovalFailed.zig"); | ||
| 46 | const SuggestedPostApproved = @import("SuggestedPostApproved.zig"); | ||
| 47 | const SuggestedPostDeclined = @import("SuggestedPostDeclined.zig"); | ||
| 48 | const SuggestedPostInfo = @import("SuggestedPostInfo.zig"); | ||
| 49 | const SuggestedPostPaid = @import("SuggestedPostPaid.zig"); | ||
| 50 | const SuggestedPostRefunded = @import("SuggestedPostRefunded.zig"); | ||
| 40 | const TextQuote = @import("TextQuote.zig"); | 51 | const TextQuote = @import("TextQuote.zig"); |
| 52 | const UniqueGiftInfo = @import("UniqueGiftInfo.zig"); | ||
| 41 | const User = @import("User.zig"); | 53 | const User = @import("User.zig"); |
| 42 | const UsersShared = @import("UsersShared.zig"); | 54 | const UsersShared = @import("UsersShared.zig"); |
| 43 | const Venue = @import("Venue.zig"); | 55 | const Venue = @import("Venue.zig"); |
| @@ -53,6 +65,7 @@ const WriteAccessAllowed = @import("WriteAccessAllowed.zig"); | |||
| 53 | 65 | ||
| 54 | message_id: u64, | 66 | message_id: u64, |
| 55 | message_thread_id: ?u64 = null, | 67 | message_thread_id: ?u64 = null, |
| 68 | direct_messages_topic: ?DirectMessagesTopic = null, | ||
| 56 | from: ?User = null, | 69 | from: ?User = null, |
| 57 | sender_chat: ?Chat = null, | 70 | sender_chat: ?Chat = null, |
| 58 | sender_boost_count: ?u64 = null, | 71 | sender_boost_count: ?u64 = null, |
| @@ -68,15 +81,19 @@ reply_to_message: ?*Message = null, | |||
| 68 | external_reply: ?ExternalReplyInfo = null, | 81 | external_reply: ?ExternalReplyInfo = null, |
| 69 | quote: ?TextQuote = null, | 82 | quote: ?TextQuote = null, |
| 70 | reply_to_story: ?Story = null, | 83 | reply_to_story: ?Story = null, |
| 84 | reply_to_checklist_task_id: ?u64 = null, | ||
| 71 | via_bot: ?User = null, | 85 | via_bot: ?User = null, |
| 72 | edit_date: ?u64 = null, | 86 | edit_date: ?u64 = null, |
| 73 | has_protected_content: bool = false, | 87 | has_protected_content: bool = false, |
| 74 | is_from_offline: bool = false, | 88 | is_from_offline: bool = false, |
| 89 | is_paid_post: bool = false, | ||
| 75 | media_group_id: ?[]const u8 = null, | 90 | media_group_id: ?[]const u8 = null, |
| 76 | author_signature: ?[]const u8 = null, | 91 | author_signature: ?[]const u8 = null, |
| 92 | paid_star_count: ?u64 = null, | ||
| 77 | text: ?[]const u8 = null, | 93 | text: ?[]const u8 = null, |
| 78 | entities: ?[]MessageEntity = null, | 94 | entities: ?[]MessageEntity = null, |
| 79 | link_preview_options: ?LinkPreviewOptions = null, | 95 | link_preview_options: ?LinkPreviewOptions = null, |
| 96 | suggested_post_info: ?SuggestedPostInfo = null, | ||
| 80 | effect_id: ?[]const u8 = null, | 97 | effect_id: ?[]const u8 = null, |
| 81 | animation: ?Animation = null, | 98 | animation: ?Animation = null, |
| 82 | audio: ?Audio = null, | 99 | audio: ?Audio = null, |
| @@ -115,12 +132,16 @@ successful_payment: ?SuccessfulPayment = null, | |||
| 115 | refunded_payment: ?RefundedPayment = null, | 132 | refunded_payment: ?RefundedPayment = null, |
| 116 | users_shared: ?UsersShared = null, | 133 | users_shared: ?UsersShared = null, |
| 117 | chat_shared: ?ChatShared = null, | 134 | chat_shared: ?ChatShared = null, |
| 135 | gift: ?GiftInfo = null, | ||
| 136 | unique_gift: ?UniqueGiftInfo = null, | ||
| 118 | connected_website: ?[]const u8 = null, | 137 | connected_website: ?[]const u8 = null, |
| 119 | write_access_allowed: ?WriteAccessAllowed = null, | 138 | write_access_allowed: ?WriteAccessAllowed = null, |
| 120 | passport_data: ?PassportData = null, | 139 | passport_data: ?PassportData = null, |
| 121 | proximity_alert_triggered: ?ProximityAlertTriggered = null, | 140 | proximity_alert_triggered: ?ProximityAlertTriggered = null, |
| 122 | boost_added: ?ChatBoostAdded = null, | 141 | boost_added: ?ChatBoostAdded = null, |
| 123 | chat_background_set: ?ChatBackground = null, | 142 | chat_background_set: ?ChatBackground = null, |
| 143 | checklist_tasks_added: ?ChecklistTasksAdded = null, | ||
| 144 | direct_message_price_changed: ?DirectMessagePriceChanged = null, | ||
| 124 | forum_topic_created: ?ForumTopicCreated = null, | 145 | forum_topic_created: ?ForumTopicCreated = null, |
| 125 | forum_topic_edited: ?ForumTopicEdited = null, | 146 | forum_topic_edited: ?ForumTopicEdited = null, |
| 126 | forum_topic_closed: ?ForumTopicClosed = null, | 147 | forum_topic_closed: ?ForumTopicClosed = null, |
| @@ -131,6 +152,12 @@ giveaway_created: ?GiveawayCreated = null, | |||
| 131 | giveaway: ?Giveaway = null, | 152 | giveaway: ?Giveaway = null, |
| 132 | giveaway_winners: ?GiveawayWinners = null, | 153 | giveaway_winners: ?GiveawayWinners = null, |
| 133 | giveaway_completed: ?*GiveawayCompleted = null, | 154 | giveaway_completed: ?*GiveawayCompleted = null, |
| 155 | paid_message_price_changed: ?PaidMessagePriceChanged = null, | ||
| 156 | suggested_post_approved: ?SuggestedPostApproved = null, | ||
| 157 | suggested_post_approval_failed: ?SuggestedPostApprovalFailed = null, | ||
| 158 | suggested_post_declined: ?SuggestedPostDeclined = null, | ||
| 159 | suggested_post_paid: ?SuggestedPostPaid = null, | ||
| 160 | suggested_post_refunded: ?SuggestedPostRefunded = null, | ||
| 134 | video_chat_scheduled: ?VideoChatScheduled = null, | 161 | video_chat_scheduled: ?VideoChatScheduled = null, |
| 135 | video_chat_started: ?VideoChatStarted = null, | 162 | video_chat_started: ?VideoChatStarted = null, |
| 136 | video_chat_ended: ?VideoChatEnded = null, | 163 | video_chat_ended: ?VideoChatEnded = null, |