class LocationMessage(messages.LocationMessage): agent = IntegerField('AgentID', 0)
class ShortVideoMessage(messages.ShortVideoMessage): agent = IntegerField('AgentID', 0)
class VideoMessage(messages.VideoMessage): agent = IntegerField('AgentID', 0)
class ImageMessage(messages.ImageMessage): agent = IntegerField('AgentID', 0)
class VoiceMessage(messages.VoiceMessage): agent = IntegerField('AgentID', 0)
class HardwareReply(BaseReply): type = 'hardware' func_flag = IntegerField('FuncFlag', 0) hardware = HardwareField('HardWare')
class TextMessage(messages.TextMessage): agent = IntegerField('AgentID', 0)
class VideoReply(replies.VideoReply): agent = IntegerField('AgentID', 0)
class ArticlesReply(replies.ArticlesReply): agent = IntegerField('AgentID', 0)
class VoiceReply(replies.VoiceReply): agent = IntegerField('AgentID', 0)
class ImageReply(replies.ImageReply): agent = IntegerField('AgentID', 0)
class TextReply(replies.TextReply): agent = IntegerField('AgentID', 0)
class DeviceUnsubscribeStatusEvent(BaseEvent): event = 'subscribe_status' device_type = StringField('DeviceType') device_id = StringField('DeviceID') open_id = StringField('OpenID') op_type = IntegerField('OpType')
class MerchantOrderEvent(BaseEvent): event = 'merchant_order' order_id = StringField('OrderId') order_status = IntegerField('OrderStatus') product_id = StringField('ProductId') sku_info = StringField('SkuInfo')