Class MSConversation

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MSConversation
extends NSObject
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • MSConversation

      public MSConversation()
    • MSConversation

      protected MSConversation​(NSObject.Handle h, long handle)
    • MSConversation

      protected MSConversation​(NSObject.SkipInit skipInit)
  • Method Details

    • getLocalParticipantIdentifier

      public NSUUID getLocalParticipantIdentifier()
    • getRemoteParticipantIdentifiers

      public NSArray<NSUUID> getRemoteParticipantIdentifiers()
    • getSelectedMessage

      public MSMessage getSelectedMessage()
    • insertMessage

      public void insertMessage​(MSMessage message, VoidBlock1<NSError> completionHandler)
    • insertSticker

      public void insertSticker​(MSSticker sticker, VoidBlock1<NSError> completionHandler)
    • insertText

      public void insertText​(String text, VoidBlock1<NSError> completionHandler)
    • insertAttachment

      public void insertAttachment​(NSURL URL, String filename, VoidBlock1<NSError> completionHandler)
    • sendMessage

      public void sendMessage​(MSMessage message, VoidBlock1<NSError> completionHandler)
      Since:
      Available in iOS 11.0 and later.
    • sendSticker

      public void sendSticker​(MSSticker sticker, VoidBlock1<NSError> completionHandler)
      Since:
      Available in iOS 11.0 and later.
    • sendText

      public void sendText​(String text, VoidBlock1<NSError> completionHandler)
      Since:
      Available in iOS 11.0 and later.
    • sendAttachment

      public void sendAttachment​(NSURL URL, String filename, VoidBlock1<NSError> completionHandler)
      Since:
      Available in iOS 11.0 and later.