Access MessageId

53 views
Skip to first unread message

A. York

unread,
May 11, 2017, 6:37:16 PM5/11/17
to InboxSDK
Guys, is it possible to access the messageId of a selected message to send to the Gmail api?

I'm looking for a way to select a message and then add a label to it from gapi.

I see that you access the threadID, but can you access this on a selected message and not a draft?

Chris Cowan

unread,
May 11, 2017, 6:43:18 PM5/11/17
to InboxSDK
The MessageView class has getMessageID method. You can access MessageView instances with the sdk.Conversations.registerMessageViewHandler function or through the getMessageViews method of the ThreadView class. 

A. York

unread,
May 11, 2017, 9:26:25 PM5/11/17
to InboxSDK
Chris,

Thank you. I will give this a try.

Another question for you if you don't mind. I'm also trying to come up with a way to show a users profile picture on messages similar to how Inboxbygmail does it.

Does Inboxsdk provide something to access this info?

Reply all
Reply to author
Forward
0 new messages