Esempio n. 1
0
	def __init__(self,sender_id=0,target_id=0,type=0,sender_type=0,skipconfirm=False):
		BaseType.__init__(self,Notification.NAME)
		self.sender_id = sender_id
		self.sender_type = sender_type
		self.target_id = target_id
		self.type = type
		self.p1 = None
		self.p2 = None
		self.p3 = None
		self.p4 = None
		self.issue_time = misc.currentTimestamp64()
		self.confirm_time = None
Esempio n. 2
0
	def __init__(self):
		BaseType.__init__(self,SendMessage.NAME)
		self.sender_id = None               #发送者编号
		self.target_id = None           	#接者编号
		self.team_id = None             	#发送到组的消息则要记录组的编号
		self.issue_time = misc.currentTimestamp64()          #邀请发起时间
		self.confirm_time = None                #确认时间
		self.confirm_result = message.SendMessagetatus.UNACKED            	#0-未确认;  1 -发送已确认
		self.level = None               			#消息级别 1 – 不可丢弃; 2 – 可丢弃
		self.type = None                           #消息类型
		self.content = None                          #文本消息
		self.entities = 0            			#消息包含entites的标志 mask
		self.userdata = None