Messages
You can use the methods from the TapCoreMessageManager class to manage chat messages.
Send a new text message to the selected chat room.
Send a new image message to the selected chat room.
Send a new video message to the selected chat room.
Send a new file message to the selected chat room.
Send a new message with location to the selected chat room.
Send a new voice message to the selected chat room.
Send a new link message to the selected chat room.
Forward an existing message to the selected chat room.
Construct a customized TapTalk.io message model.
Send a new custom message to the room defined in the message model.
Edit the contents of the selected message
Call this method to search messages from the device's local storage with a keyword
Set message as starred or remove star from message for the active user.
Retrieve list of messages marked as starred in a chat room.
Set message as pinned or remove pin from message for all room participants.
Retrieve list of pinned messages in a chat room.
Retrieve image, video, file, and link messages from a chat room.
Start a file download from the selected file, image, or video message.
Mark message as read by the active user.
Mark message as delivered by the active user.
Retrieve messages that are older than the provided timestamp from the server to the selected chat room.
Retrieve newer messages from the server to the selected chat room
Retrieve existing media messages from a chat room
DeleteMessage
SendTextMessage
SendImageMessage
SendVideoMessage
SendFileMessage
SendLocationMessage
SendVoiceMessage
SendLinkMessage
Send Forwarded Messages
To send a forwarded message to a chat room, use the sendForwardMessage() method from the TapCoreMessageManager class.
Send Forwarded Messages to Multiple Rooms
To send multiple forwarded message to multiple chat room, use the sendForwardMessagesOnMultipleRooms() method from the TapCoreMessageManager class.
ConstructTapTalkMessageModel
ConstructTapTalkMessageModelWithQuote
SendCustomMessage
Edit Message
To edit amessage in a chat room, use the sendEmitWithEditedMessage() method from the TapCoreMessageManager class.
SearchLocalRoomMessageWithKeyword
Call this method to search messages from the chat room with a keyword.
SearchLocalMessageWithKeyword
Call this method to search messages from all chat room with a keyword.
StarMessage
You may use these methods to mark a message or multiple messages as starred.
UnstarMessage
You may use these methods to remove messages from the starred list.
GetStarredMessageIds
You can use the method below get a list of message IDs marked as starred by the user.
FetchStarredMessages
You can use the method below get a list of message IDs marked as starred by the user.
FetchSharedContentMessages
You may use this method to fetch shared content messages from the server. This currently includes image, video, file, and link messages.
FetchPinnedMessages
You can fetch pinned messages list with this method below.
GetPinnedMessageIds
You can fetch all pinned messages ID list with this method below.
PinMessage
You can set pin messages with this method below.
UnpinMessage
You can set pin messages with this method below.
Download Message File
To start a file download from a File, Image, or Video message, you can use the downloadMessageFile() method.
Mark Message as Read
To manually mark a message as read, call the markMessageAsRead() method.
Mark Message as Delivered
To manually mark a message as delivered, call the markMessageAsDelivered() method.
Get Older Messages from Chat Room
To retrieve older messages in a chat room from the server, use the getOlderMessagesBeforeTimestamp() method.
Get Newer Messages from Chat Room
To retrieve newer messages in a chat room from the server, use the getNewerMessagesAfterTimestamp() method.
Get Total Read Count
Get total read count of a message
Fetch Message Info
Fetch message info (read by and delivere to).
Last updated
Was this helpful?