Schedule a meet

Send meet message#

A meet message typically refers to a message or communication related to scheduling or planning a meeting. These messages can include information about the Scheduled date,time and meet link.

You can send the created meet link in previous step by using the sendMeetMessage() method. You can share the title, link and scheduled date and time using this method.

caution

If Group call feature is unavailable for your plan, then it will throw 403 exception

var meetMessage = MeetMessage()
meetMessage.toId = TO_JID
meetMessage.link = MEET_LINK
meetMessage.scheduledDateTime = SCHEDULED_TIME
meetMessage.title = TITLE // Optional
meetMessage.replyMessageId = REPLY_MESSAGE_ID // Optional
meetMessage.mentionedUsersIds = MENTION_IDS // Optional
meetMessage.metaData = META_DATA // Optional
meetMessage.topicID = TOPIC_ID // Optional
FlyMessenger.sendMeetMessage(messageParams: meetMessage){ isSuccess,error,message in
if (isSuccess) {
//you can add this message object to your arraylist,
//then you can notify the tableview
}
}
ArgumentTypeDescription
MESSAGE_PARAMSMeetMessageObject to hold the parameters of the meet message
CALLBACKFlySendMessageListenercallback to observe the action status

Receive meet message#

To receive a meet message from another user, you must implement the messageListener function. It’s a function that will be triggered whenever you receive a new message or related event in the chat.

func onMessageReceived(message : ChatMessage, chatJid: String) {
}
info

To learn more on message listener callbacks, see the Message Events Delegate.