@@ -439,6 +439,60 @@ def admin_auth_policy_removeEntities(
439439 kwargs .update ({"entity_type" : entity_type })
440440 return self .api_call ("admin.auth.policy.removeEntities" , http_verb = "POST" , params = kwargs )
441441
442+ def admin_conversations_createForObjects (
443+ self ,
444+ * ,
445+ object_id : str ,
446+ salesforce_org_id : str ,
447+ invite_object_team : Optional [bool ] = None ,
448+ ** kwargs ,
449+ ) -> Union [Future , SlackResponse ]:
450+ """Create a Salesforce channel for the corresponding object provided.
451+ https://api.slack.com/methods/admin.conversations.createForObjects
452+ """
453+ kwargs .update (
454+ {"object_id" : object_id , "salesforce_org_id" : salesforce_org_id , "invite_object_team" : invite_object_team }
455+ )
456+ return self .api_call ("admin.conversations.createForObjects" , params = kwargs )
457+
458+ def admin_conversations_linkObjects (
459+ self ,
460+ * ,
461+ channel : str ,
462+ record_id : str ,
463+ salesforce_org_id : str ,
464+ ** kwargs ,
465+ ) -> Union [Future , SlackResponse ]:
466+ """Link a Salesforce record to a channel.
467+ https://api.slack.com/methods/admin.conversations.linkObjects
468+ """
469+ kwargs .update (
470+ {
471+ "channel" : channel ,
472+ "record_id" : record_id ,
473+ "salesforce_org_id" : salesforce_org_id ,
474+ }
475+ )
476+ return self .api_call ("admin.conversations.linkObjects" , params = kwargs )
477+
478+ def admin_conversations_unlinkObjects (
479+ self ,
480+ * ,
481+ channel : str ,
482+ new_name : str ,
483+ ** kwargs ,
484+ ) -> Union [Future , SlackResponse ]:
485+ """Unlink a Salesforce record from a channel.
486+ https://api.slack.com/methods/admin.conversations.unlinkObjects
487+ """
488+ kwargs .update (
489+ {
490+ "channel" : channel ,
491+ "new_name" : new_name ,
492+ }
493+ )
494+ return self .api_call ("admin.conversations.unlinkObjects" , params = kwargs )
495+
442496 def admin_barriers_create (
443497 self ,
444498 * ,
0 commit comments