您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617
  1. """
  2. Auto-replay chat robot abstract class
  3. """
  4. from bridge.context import Context
  5. from bridge.reply import Reply
  6. class Bot(object):
  7. def reply(self, query, context : Context =None) -> Reply:
  8. """
  9. bot auto-reply content
  10. :param req: received message
  11. :return: reply content
  12. """
  13. raise NotImplementedError