mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-05-22 11:29:05 +02:00
Update to TDLib 1.8.64
This commit is contained in:
parent
bcfdac2c36
commit
b94a8b6770
4 changed files with 1540 additions and 121 deletions
|
|
@ -545,6 +545,52 @@ func UnmarshalListOfInputPollType(dataList []json.RawMessage) ([]InputPollType,
|
|||
return list, nil
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReason(data json.RawMessage) (PollVoteRestrictionReason, error) {
|
||||
var meta meta
|
||||
|
||||
err := json.Unmarshal(data, &meta)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
switch meta.Type {
|
||||
case TypePollVoteRestrictionReasonClosed:
|
||||
return UnmarshalPollVoteRestrictionReasonClosed(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonYetUnsent:
|
||||
return UnmarshalPollVoteRestrictionReasonYetUnsent(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonScheduled:
|
||||
return UnmarshalPollVoteRestrictionReasonScheduled(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonCountryRestricted:
|
||||
return UnmarshalPollVoteRestrictionReasonCountryRestricted(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonMembershipRequired:
|
||||
return UnmarshalPollVoteRestrictionReasonMembershipRequired(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonOther:
|
||||
return UnmarshalPollVoteRestrictionReasonOther(data)
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("Error unmarshaling. Unknown type: " + meta.Type)
|
||||
}
|
||||
}
|
||||
|
||||
func UnmarshalListOfPollVoteRestrictionReason(dataList []json.RawMessage) ([]PollVoteRestrictionReason, error) {
|
||||
list := []PollVoteRestrictionReason{}
|
||||
|
||||
for _, data := range dataList {
|
||||
entity, err := UnmarshalPollVoteRestrictionReason(data)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
list = append(list, entity)
|
||||
}
|
||||
|
||||
return list, nil
|
||||
}
|
||||
|
||||
func UnmarshalProfileTab(data json.RawMessage) (ProfileTab, error) {
|
||||
var meta meta
|
||||
|
||||
|
|
@ -3578,6 +3624,9 @@ func UnmarshalLinkPreviewType(data json.RawMessage) (LinkPreviewType, error) {
|
|||
case TypeLinkPreviewTypeSupergroupBoost:
|
||||
return UnmarshalLinkPreviewTypeSupergroupBoost(data)
|
||||
|
||||
case TypeLinkPreviewTypeTextCompositionStyle:
|
||||
return UnmarshalLinkPreviewTypeTextCompositionStyle(data)
|
||||
|
||||
case TypeLinkPreviewTypeTheme:
|
||||
return UnmarshalLinkPreviewTypeTheme(data)
|
||||
|
||||
|
|
@ -6072,6 +6121,9 @@ func UnmarshalReactionUnavailabilityReason(data json.RawMessage) (ReactionUnavai
|
|||
case TypeReactionUnavailabilityReasonGuest:
|
||||
return UnmarshalReactionUnavailabilityReasonGuest(data)
|
||||
|
||||
case TypeReactionUnavailabilityReasonRestricted:
|
||||
return UnmarshalReactionUnavailabilityReasonRestricted(data)
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("Error unmarshaling. Unknown type: " + meta.Type)
|
||||
}
|
||||
|
|
@ -6731,6 +6783,9 @@ func UnmarshalPremiumLimitType(data json.RawMessage) (PremiumLimitType, error) {
|
|||
case TypePremiumLimitTypeOwnedBotCount:
|
||||
return UnmarshalPremiumLimitTypeOwnedBotCount(data)
|
||||
|
||||
case TypePremiumLimitTypeCustomTextCompositionStyleCount:
|
||||
return UnmarshalPremiumLimitTypeCustomTextCompositionStyleCount(data)
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("Error unmarshaling. Unknown type: " + meta.Type)
|
||||
}
|
||||
|
|
@ -8680,6 +8735,9 @@ func UnmarshalInternalLinkType(data json.RawMessage) (InternalLinkType, error) {
|
|||
case TypeInternalLinkTypeStoryAlbum:
|
||||
return UnmarshalInternalLinkTypeStoryAlbum(data)
|
||||
|
||||
case TypeInternalLinkTypeTextCompositionStyle:
|
||||
return UnmarshalInternalLinkTypeTextCompositionStyle(data)
|
||||
|
||||
case TypeInternalLinkTypeTheme:
|
||||
return UnmarshalInternalLinkTypeTheme(data)
|
||||
|
||||
|
|
@ -9041,6 +9099,9 @@ func UnmarshalTopChatCategory(data json.RawMessage) (TopChatCategory, error) {
|
|||
case TypeTopChatCategoryInlineBots:
|
||||
return UnmarshalTopChatCategoryInlineBots(data)
|
||||
|
||||
case TypeTopChatCategoryGuestBots:
|
||||
return UnmarshalTopChatCategoryGuestBots(data)
|
||||
|
||||
case TypeTopChatCategoryWebAppBots:
|
||||
return UnmarshalTopChatCategoryWebAppBots(data)
|
||||
|
||||
|
|
@ -9609,6 +9670,9 @@ func UnmarshalUpdate(data json.RawMessage) (Update, error) {
|
|||
case TypeUpdateMessageUnreadReactions:
|
||||
return UnmarshalUpdateMessageUnreadReactions(data)
|
||||
|
||||
case TypeUpdateMessageContainsUnreadPollVotes:
|
||||
return UnmarshalUpdateMessageContainsUnreadPollVotes(data)
|
||||
|
||||
case TypeUpdateMessageFactCheck:
|
||||
return UnmarshalUpdateMessageFactCheck(data)
|
||||
|
||||
|
|
@ -10059,6 +10123,9 @@ func UnmarshalUpdate(data json.RawMessage) (Update, error) {
|
|||
case TypeUpdateNewChosenInlineResult:
|
||||
return UnmarshalUpdateNewChosenInlineResult(data)
|
||||
|
||||
case TypeUpdateNewGuestQuery:
|
||||
return UnmarshalUpdateNewGuestQuery(data)
|
||||
|
||||
case TypeUpdateNewCallbackQuery:
|
||||
return UnmarshalUpdateNewCallbackQuery(data)
|
||||
|
||||
|
|
@ -10363,6 +10430,14 @@ func UnmarshalFixedText(data json.RawMessage) (*FixedText, error) {
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalTextCompositionStyleExample(data json.RawMessage) (*TextCompositionStyleExample, error) {
|
||||
var resp TextCompositionStyleExample
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalTextCompositionStyle(data json.RawMessage) (*TextCompositionStyle, error) {
|
||||
var resp TextCompositionStyle
|
||||
|
||||
|
|
@ -10851,6 +10926,54 @@ func UnmarshalInputPollTypeQuiz(data json.RawMessage) (*InputPollTypeQuiz, error
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonClosed(data json.RawMessage) (*PollVoteRestrictionReasonClosed, error) {
|
||||
var resp PollVoteRestrictionReasonClosed
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonYetUnsent(data json.RawMessage) (*PollVoteRestrictionReasonYetUnsent, error) {
|
||||
var resp PollVoteRestrictionReasonYetUnsent
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonScheduled(data json.RawMessage) (*PollVoteRestrictionReasonScheduled, error) {
|
||||
var resp PollVoteRestrictionReasonScheduled
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonCountryRestricted(data json.RawMessage) (*PollVoteRestrictionReasonCountryRestricted, error) {
|
||||
var resp PollVoteRestrictionReasonCountryRestricted
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonMembershipRequired(data json.RawMessage) (*PollVoteRestrictionReasonMembershipRequired, error) {
|
||||
var resp PollVoteRestrictionReasonMembershipRequired
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteRestrictionReasonOther(data json.RawMessage) (*PollVoteRestrictionReasonOther, error) {
|
||||
var resp PollVoteRestrictionReasonOther
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalChecklistTask(data json.RawMessage) (*ChecklistTask, error) {
|
||||
var resp ChecklistTask
|
||||
|
||||
|
|
@ -11195,6 +11318,14 @@ func UnmarshalBotMenuButton(data json.RawMessage) (*BotMenuButton, error) {
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalBotAccessSettings(data json.RawMessage) (*BotAccessSettings, error) {
|
||||
var resp BotAccessSettings
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalBotVerificationParameters(data json.RawMessage) (*BotVerificationParameters, error) {
|
||||
var resp BotVerificationParameters
|
||||
|
||||
|
|
@ -15795,6 +15926,14 @@ func UnmarshalLinkPreviewTypeSupergroupBoost(data json.RawMessage) (*LinkPreview
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalLinkPreviewTypeTextCompositionStyle(data json.RawMessage) (*LinkPreviewTypeTextCompositionStyle, error) {
|
||||
var resp LinkPreviewTypeTextCompositionStyle
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalLinkPreviewTypeTheme(data json.RawMessage) (*LinkPreviewTypeTheme, error) {
|
||||
var resp LinkPreviewTypeTheme
|
||||
|
||||
|
|
@ -19659,6 +19798,14 @@ func UnmarshalReactionUnavailabilityReasonGuest(data json.RawMessage) (*Reaction
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalReactionUnavailabilityReasonRestricted(data json.RawMessage) (*ReactionUnavailabilityReasonRestricted, error) {
|
||||
var resp ReactionUnavailabilityReasonRestricted
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalAnimations(data json.RawMessage) (*Animations, error) {
|
||||
var resp Animations
|
||||
|
||||
|
|
@ -19747,14 +19894,6 @@ func UnmarshalAttachmentMenuBot(data json.RawMessage) (*AttachmentMenuBot, error
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalSentWebAppMessage(data json.RawMessage) (*SentWebAppMessage, error) {
|
||||
var resp SentWebAppMessage
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalBotWriteAccessAllowReasonConnectedWebsite(data json.RawMessage) (*BotWriteAccessAllowReasonConnectedWebsite, error) {
|
||||
var resp BotWriteAccessAllowReasonConnectedWebsite
|
||||
|
||||
|
|
@ -20059,6 +20198,14 @@ func UnmarshalInlineQueryResults(data json.RawMessage) (*InlineQueryResults, err
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalInlineMessageId(data json.RawMessage) (*InlineMessageId, error) {
|
||||
var resp InlineMessageId
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPreparedInlineMessageId(data json.RawMessage) (*PreparedInlineMessageId, error) {
|
||||
var resp PreparedInlineMessageId
|
||||
|
||||
|
|
@ -20795,6 +20942,14 @@ func UnmarshalPremiumLimitTypeOwnedBotCount(data json.RawMessage) (*PremiumLimit
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPremiumLimitTypeCustomTextCompositionStyleCount(data json.RawMessage) (*PremiumLimitTypeCustomTextCompositionStyleCount, error) {
|
||||
var resp PremiumLimitTypeCustomTextCompositionStyleCount
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPremiumFeatureIncreasedLimits(data json.RawMessage) (*PremiumFeatureIncreasedLimits, error) {
|
||||
var resp PremiumFeatureIncreasedLimits
|
||||
|
||||
|
|
@ -23611,6 +23766,14 @@ func UnmarshalInternalLinkTypeStoryAlbum(data json.RawMessage) (*InternalLinkTyp
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalInternalLinkTypeTextCompositionStyle(data json.RawMessage) (*InternalLinkTypeTextCompositionStyle, error) {
|
||||
var resp InternalLinkTypeTextCompositionStyle
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalInternalLinkTypeTheme(data json.RawMessage) (*InternalLinkTypeTheme, error) {
|
||||
var resp InternalLinkTypeTheme
|
||||
|
||||
|
|
@ -24179,6 +24342,14 @@ func UnmarshalTopChatCategoryInlineBots(data json.RawMessage) (*TopChatCategoryI
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalTopChatCategoryGuestBots(data json.RawMessage) (*TopChatCategoryGuestBots, error) {
|
||||
var resp TopChatCategoryGuestBots
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalTopChatCategoryWebAppBots(data json.RawMessage) (*TopChatCategoryWebAppBots, error) {
|
||||
var resp TopChatCategoryWebAppBots
|
||||
|
||||
|
|
@ -24659,6 +24830,14 @@ func UnmarshalStoryStatistics(data json.RawMessage) (*StoryStatistics, error) {
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalPollVoteStatistics(data json.RawMessage) (*PollVoteStatistics, error) {
|
||||
var resp PollVoteStatistics
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalRevenueWithdrawalStatePending(data json.RawMessage) (*RevenueWithdrawalStatePending, error) {
|
||||
var resp RevenueWithdrawalStatePending
|
||||
|
||||
|
|
@ -24971,6 +25150,14 @@ func UnmarshalUpdateMessageUnreadReactions(data json.RawMessage) (*UpdateMessage
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalUpdateMessageContainsUnreadPollVotes(data json.RawMessage) (*UpdateMessageContainsUnreadPollVotes, error) {
|
||||
var resp UpdateMessageContainsUnreadPollVotes
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalUpdateMessageFactCheck(data json.RawMessage) (*UpdateMessageFactCheck, error) {
|
||||
var resp UpdateMessageFactCheck
|
||||
|
||||
|
|
@ -26171,6 +26358,14 @@ func UnmarshalUpdateNewChosenInlineResult(data json.RawMessage) (*UpdateNewChose
|
|||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalUpdateNewGuestQuery(data json.RawMessage) (*UpdateNewGuestQuery, error) {
|
||||
var resp UpdateNewGuestQuery
|
||||
|
||||
err := json.Unmarshal(data, &resp)
|
||||
|
||||
return &resp, err
|
||||
}
|
||||
|
||||
func UnmarshalUpdateNewCallbackQuery(data json.RawMessage) (*UpdateNewCallbackQuery, error) {
|
||||
var resp UpdateNewCallbackQuery
|
||||
|
||||
|
|
@ -26495,6 +26690,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeFixedText:
|
||||
return UnmarshalFixedText(data)
|
||||
|
||||
case TypeTextCompositionStyleExample:
|
||||
return UnmarshalTextCompositionStyleExample(data)
|
||||
|
||||
case TypeTextCompositionStyle:
|
||||
return UnmarshalTextCompositionStyle(data)
|
||||
|
||||
|
|
@ -26678,6 +26876,24 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeInputPollTypeQuiz:
|
||||
return UnmarshalInputPollTypeQuiz(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonClosed:
|
||||
return UnmarshalPollVoteRestrictionReasonClosed(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonYetUnsent:
|
||||
return UnmarshalPollVoteRestrictionReasonYetUnsent(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonScheduled:
|
||||
return UnmarshalPollVoteRestrictionReasonScheduled(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonCountryRestricted:
|
||||
return UnmarshalPollVoteRestrictionReasonCountryRestricted(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonMembershipRequired:
|
||||
return UnmarshalPollVoteRestrictionReasonMembershipRequired(data)
|
||||
|
||||
case TypePollVoteRestrictionReasonOther:
|
||||
return UnmarshalPollVoteRestrictionReasonOther(data)
|
||||
|
||||
case TypeChecklistTask:
|
||||
return UnmarshalChecklistTask(data)
|
||||
|
||||
|
|
@ -26807,6 +27023,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeBotMenuButton:
|
||||
return UnmarshalBotMenuButton(data)
|
||||
|
||||
case TypeBotAccessSettings:
|
||||
return UnmarshalBotAccessSettings(data)
|
||||
|
||||
case TypeBotVerificationParameters:
|
||||
return UnmarshalBotVerificationParameters(data)
|
||||
|
||||
|
|
@ -28532,6 +28751,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeLinkPreviewTypeSupergroupBoost:
|
||||
return UnmarshalLinkPreviewTypeSupergroupBoost(data)
|
||||
|
||||
case TypeLinkPreviewTypeTextCompositionStyle:
|
||||
return UnmarshalLinkPreviewTypeTextCompositionStyle(data)
|
||||
|
||||
case TypeLinkPreviewTypeTheme:
|
||||
return UnmarshalLinkPreviewTypeTheme(data)
|
||||
|
||||
|
|
@ -29981,6 +30203,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeReactionUnavailabilityReasonGuest:
|
||||
return UnmarshalReactionUnavailabilityReasonGuest(data)
|
||||
|
||||
case TypeReactionUnavailabilityReasonRestricted:
|
||||
return UnmarshalReactionUnavailabilityReasonRestricted(data)
|
||||
|
||||
case TypeAnimations:
|
||||
return UnmarshalAnimations(data)
|
||||
|
||||
|
|
@ -30014,9 +30239,6 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeAttachmentMenuBot:
|
||||
return UnmarshalAttachmentMenuBot(data)
|
||||
|
||||
case TypeSentWebAppMessage:
|
||||
return UnmarshalSentWebAppMessage(data)
|
||||
|
||||
case TypeBotWriteAccessAllowReasonConnectedWebsite:
|
||||
return UnmarshalBotWriteAccessAllowReasonConnectedWebsite(data)
|
||||
|
||||
|
|
@ -30131,6 +30353,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeInlineQueryResults:
|
||||
return UnmarshalInlineQueryResults(data)
|
||||
|
||||
case TypeInlineMessageId:
|
||||
return UnmarshalInlineMessageId(data)
|
||||
|
||||
case TypePreparedInlineMessageId:
|
||||
return UnmarshalPreparedInlineMessageId(data)
|
||||
|
||||
|
|
@ -30407,6 +30632,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypePremiumLimitTypeOwnedBotCount:
|
||||
return UnmarshalPremiumLimitTypeOwnedBotCount(data)
|
||||
|
||||
case TypePremiumLimitTypeCustomTextCompositionStyleCount:
|
||||
return UnmarshalPremiumLimitTypeCustomTextCompositionStyleCount(data)
|
||||
|
||||
case TypePremiumFeatureIncreasedLimits:
|
||||
return UnmarshalPremiumFeatureIncreasedLimits(data)
|
||||
|
||||
|
|
@ -31463,6 +31691,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeInternalLinkTypeStoryAlbum:
|
||||
return UnmarshalInternalLinkTypeStoryAlbum(data)
|
||||
|
||||
case TypeInternalLinkTypeTextCompositionStyle:
|
||||
return UnmarshalInternalLinkTypeTextCompositionStyle(data)
|
||||
|
||||
case TypeInternalLinkTypeTheme:
|
||||
return UnmarshalInternalLinkTypeTheme(data)
|
||||
|
||||
|
|
@ -31676,6 +31907,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeTopChatCategoryInlineBots:
|
||||
return UnmarshalTopChatCategoryInlineBots(data)
|
||||
|
||||
case TypeTopChatCategoryGuestBots:
|
||||
return UnmarshalTopChatCategoryGuestBots(data)
|
||||
|
||||
case TypeTopChatCategoryWebAppBots:
|
||||
return UnmarshalTopChatCategoryWebAppBots(data)
|
||||
|
||||
|
|
@ -31856,6 +32090,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeStoryStatistics:
|
||||
return UnmarshalStoryStatistics(data)
|
||||
|
||||
case TypePollVoteStatistics:
|
||||
return UnmarshalPollVoteStatistics(data)
|
||||
|
||||
case TypeRevenueWithdrawalStatePending:
|
||||
return UnmarshalRevenueWithdrawalStatePending(data)
|
||||
|
||||
|
|
@ -31973,6 +32210,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeUpdateMessageUnreadReactions:
|
||||
return UnmarshalUpdateMessageUnreadReactions(data)
|
||||
|
||||
case TypeUpdateMessageContainsUnreadPollVotes:
|
||||
return UnmarshalUpdateMessageContainsUnreadPollVotes(data)
|
||||
|
||||
case TypeUpdateMessageFactCheck:
|
||||
return UnmarshalUpdateMessageFactCheck(data)
|
||||
|
||||
|
|
@ -32423,6 +32663,9 @@ func UnmarshalType(data json.RawMessage) (Type, error) {
|
|||
case TypeUpdateNewChosenInlineResult:
|
||||
return UnmarshalUpdateNewChosenInlineResult(data)
|
||||
|
||||
case TypeUpdateNewGuestQuery:
|
||||
return UnmarshalUpdateNewGuestQuery(data)
|
||||
|
||||
case TypeUpdateNewCallbackQuery:
|
||||
return UnmarshalUpdateNewCallbackQuery(data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue