You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new optional parameters sit in the middle of many method signatures, and a few models and return types changed. See #313 and the migration guide for all changes. The main changes:
pass optional parameters by keyword: 41 methods, among them send_message, query_channels, get_or_create_channel, ban, unban, get_activity and the poll methods, have new parameters before existing ones
update_channel_type makes automod, automod_behavior and max_message_length optional, and submit_moderation_feedback makes message, published_at and reference optional; both move them behind the required parameters
update_campaign returns UpdateCampaignResponse and stop_campaign returns StopCampaignResponse; read the campaign from .campaign
the empty request models CancelImportV2TaskRequest, CommitMessageRequest, EndCallRequest, ExportFeedUserDataRequest, RestoreFeedGroupRequest, StartHLSBroadcastingRequest, StartPolicyTestRunRequest, StopAllRTMPBroadcastsRequest, StopCampaignRequest, StopFrameRecordingRequest, StopHLSBroadcastingRequest, VideoEndCallRequestPayload and VideoKickUserRequestPayload are removed, as is Time; EnrichedReaction.created_at and updated_at are str
AIVideoConfig.provider is removed
Features
add fork_channel, fork_message_ids and rewind_channel, also on Channel as fork, fork_message_ids and rewind (cc5538e)
add query_channel_bans, search_all, claim_guest_user, check_gcp_pub_sub and the history window team methods get_history_window_teams, set_history_window_teams and delete_history_window_teams (cc5538e)
add query_deleted_channels to list deleted channels (cc5538e)
add scheduled messages: send_message(scheduled_at=...), query_scheduled_messages, update_scheduled_message, delete_scheduled_message and send_scheduled_message_now (cc5538e)
moderation: add config versions (save_config_version, list_config_versions, get_config_version, publish_config_version), query_moderation_feedback and reveal_media, plus matched_blocklists on ModerationRulesTriggeredEvent and severities on ClosedCaptionRuleParameters (cc5538e)
page through list_imports with limit and offset, and set ImportV2TaskSettings.custom_format to read custom data from the root of each item or from a nested custom object (cc5538e)
regenerate the client from the current Stream API (cc5538e)