parameters: (self, partners_to, default_display_mode=False)
return_statement: return channel.channel_info()[0]
docstring: Create a group channel.
              :param partners_to : list of res.partner ids to add to the conversation
              :returns: channel_info of the created channel
              :rtype: dict
docstring_summary: Create a group channel.
              :param partners_to : list of res.partner ids to add to the conversation
              :returns: channel_info of the created channel
              :rtype: dict
docstring_tokens: Create a group channel . : param partners_to : list of res . partner ids to add to the conversation : returns : channel_info of the created channel : rtype : dict
function: def create_group(self, partners_to, default_display_mode=False):
          """ Create a group channel.
              :param partners_to : list of res.partner ids to add to the conversation
              :returns: channel_info of the created channel
              :rtype: dict
          """
          channel = self.create({
              'channel_last_seen_partner_ids': [Command.create({'partner_id': partner_id}) for partner_id in partners_to],
              'channel_type': 'group',
              'default_display_mode': default_display_mode,
              'name': '',  # default name is computed client side from the list of members
              'public': 'private',
          })
          channel._broadcast(partners_to)
          return channel.channel_info()[0]
function_tokens: def create_group ( self , partners_to , default_display_mode = False ) : channel = self . create ( { 'channel_last_seen_partner_ids' : [ Command . create ( { 'partner_id' : partner_id } ) for partner_id in partners_to ] , 'channel_type' : 'group' , 'default_display_mode' : default_display_mode , 'name' : '' , # default name is computed client side from the list of members 'public' : 'private' , } ) channel . _broadcast ( partners_to ) return channel . channel_info ( ) [ 0 ]