code: def per_from_id_in(s, flavors=chat_flavors+inline_flavors):
      
      return _wrap_none(lambda msg:
                            msg['from']['id']
                            if (flavors == 'all' or flavor(msg) in flavors) and msg['from']['id'] in s
                            else None)
docs: :param s:
          a list or set of from id
  
      :param flavors:
          ``all`` or a list of flavors
  
      :return:
          a seeder function that returns the from id only if the from id is in ``s``
          and message flavor is in ``flavors``.