This command will return a message from Yammer.
yammer message list --olderThanId <olderThanId> --threaded <threaded> --limit <limit>
- older_than (optional): Returns messages older than the message ID specified as a numeric string. This is useful for paginating messages. For example, if you’re currently viewing 20 messages and the oldest is number 2912, you could append “?older_than=2912″ to your request to get the 20 messages prior to those you’re seeing.
- threaded (optional): threaded=true will only return the thread starter (first message) for each thread. This parameter is intended for apps that need to display message threads collapsed. threaded=extended will return the thread starter messages and the two most recent messages all ordered by activity, as they are viewed in the default view on the Yammer web interface.
- limit (optional): Return only the specified number of messages. Works for threaded=true and threaded=extended.
I want to start implementing it for the endpoint presented here: https://developer.yammer.com/docs/messagesjson. The same syntax can be used for other message contexts such as https://developer.yammer.com/docs/messagesfollowingjson or https://developer.yammer.com/docs/messagessentjson. My plan was to implement a first version only with the messagejson context and then enchange the command with an additional flag in a separate issue (e.g. --messageContext)
br,
Patrick
This command will return a message from Yammer.
I want to start implementing it for the endpoint presented here: https://developer.yammer.com/docs/messagesjson. The same syntax can be used for other message contexts such as https://developer.yammer.com/docs/messagesfollowingjson or https://developer.yammer.com/docs/messagessentjson. My plan was to implement a first version only with the messagejson context and then enchange the command with an additional flag in a separate issue (e.g. --messageContext)
br,
Patrick