updateVoiceActivitySharingDefault abstract method
- @PUT.new('/users/@me/settings/voice-activity-sharing')
- @Body.new() required VoiceActivitySharingUpdateRequest body,
Update voice activity sharing default and apply to all friends.
Sets the default share_voice_activity flag for the current user and rewrites every existing friend relationship to the new value. Dispatches RELATIONSHIP_UPDATE to both parties of each friendship plus USER_UPDATE and USER_SETTINGS_UPDATE for the caller. Enforces a 24-hour cooldown tracked via the user's last_voice_activity_sharing_change_at field. Returns the updated user.
body - Name not received - field will be skipped.
Implementation
@PUT('/users/@me/settings/voice-activity-sharing')
Future<UserPrivateResponse> updateVoiceActivitySharingDefault({
@Body() required VoiceActivitySharingUpdateRequest body,
});