iOS: XMPP: Message Archiving for Group Chat Message

前端 未结 2 1747
深忆病人
深忆病人 2021-01-14 09:53

All one-one chat is send with Message Type as Chat. Thus the Message Archiving technique (shown below) worked fine for me to save/retrieve chat history.

// S         


        
2条回答
  •  误落风尘
    2021-01-14 10:52

    This is the Series of Stanza that you will need to send to get Archived Messages. For more detail you can checkout http://xmpp.org/extensions/xep-0136.html

    REQ

    
           
            
                6900
            
          
       
    

    RES

    
    
    
    
    
    866
    867
    2
    
    
    
    

    REQ

    
        
         
           8000
         
        
     
    

    RES

     
        
        
        Wow !! This is Archived Message
        
        
        0
        0
        1
        
        
        
    

    To Fetch List of all Conversations

    
           
            
                6900
            
          
    
    

提交回复
热议问题