mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 11:22:10 +08:00 
			
		
		
		
	(cherry picked from commit e6f1232582b0e7e01f5ca5594ae9d4c2c2948611)
This commit is contained in:
		
							parent
							
								
									2010aa3e8e
								
							
						
					
					
						commit
						2f25578583
					
				@ -101,6 +101,7 @@ func (m MessageApi) newUserSendMsgReq(_ *gin.Context, params *apistruct.SendMsg)
 | 
			
		||||
			SendTime:         params.SendTime,
 | 
			
		||||
			Options:          options,
 | 
			
		||||
			OfflinePushInfo:  params.OfflinePushInfo,
 | 
			
		||||
			Ex:               params.Ex,
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
	return &pbData
 | 
			
		||||
 | 
			
		||||
@ -55,6 +55,9 @@ type SendMsg struct {
 | 
			
		||||
 | 
			
		||||
	// OfflinePushInfo contains information for offline push notifications.
 | 
			
		||||
	OfflinePushInfo *sdkws.OfflinePushInfo `json:"offlinePushInfo"`
 | 
			
		||||
 | 
			
		||||
	// Ex stores extended fields
 | 
			
		||||
	Ex string `json:"ex"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// SendMsgReq extends SendMsg with the requirement of RecvID when SessionType indicates a one-on-one or notification chat.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user