feat!: regenerate from chat v235.17.1 - #77
Merged
Conversation
Adds the moderation policy test endpoints, the video daily digest endpoint, message-ID paging on get channel, CSV channel export, and the model fields that came with them.
The channel returned by a partial update can lag the write it just applied, so the partial-update and freeze specs failed on the value they had just set.
…response The update response can lag the write it just made, and a re-fetch is eventually consistent, so the max_message_length assertion failed in CI.
Same lag as the channel spec: the channel returned by a partial update can trail the write it just applied.
Hard-delete tasks sit in a shared async queue and regularly take minutes under load, so the one minute budget kept timing out in CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerated from the chat API at v235.17.1.
GET /video/stats/daily_digest).format,include_fields),member_custom_on_messages_enabledon app settings,collectionson activity requests,other_mediaon moderation payloads.Breaking changes
memberon message responses is now a partial member, which carries onlychannel_role,notifications_mutedandcustom. The other member fields are no longer returned.get_moderation_ruleanddelete_moderation_rulenow take the rule id as a required first argument.get_poll_optionno longer takesuser_id.ImportV2TaskSettings#sourceandThreadParticipant#app_pkwere removed, so reading them now raisesNoMethodError.get_rate_limits,get_feeds_rate_limits,get_activityandget_commentare the ones to watch. The parameter order comes from the generator, so it cannot be pinned in this repo. Model classes take an attributes hash and are unaffected.Verify:
make test(306 examples, green locally). Integration tests run in CI.BREAKING CHANGE: message responses return a partial member, moderation rule reads and deletes require an id, get_poll_option drops user_id, ImportV2TaskSettings#source and ThreadParticipant#app_pk are gone, and several client methods changed parameter order.