Skip to content

Enhance Yammer message list command #1184

@plamber

Description

@plamber

As promised we implemented in #1171 the standard message enumeration for Yammer ("All" conversation feed).
This issue is going to extend the capability of this command and integrate the missing endpoints for message retrieval

Usage

yammer message list [options]

New options added to the existing command

Option Description
-f, --feedType [feedType] All,Top,My,Following,Sent,Private,Received - Returns messages from a specific feed. Defaults to All
--groupId [groupId] Returns the messages from a specific group
--threadId [threadId] Returns the messages from a specific thread

Additional Information

These are the messages based on the feedType property:

  • All: Corresponds to “All” conversations in the Yammer web interface.
  • Top: The algorithmic feed for the user that corresponds to “Top” conversations. The Top conversations feed is the feed currently shown in the Yammer mobile apps.
  • My: The user’s feed, based on the selection they have made between “Following” and “Top” conversations
  • Following: The “Following” feed which is conversations involving people and topics that the user is following.
  • Sent: All messages sent by the user.
  • Private: Private messages received by the user.
  • Received: All messages received by the user.

All options use a dedicated endpoint from the Yammer API but follow the same parameters as in the original Yammer list message command. You can see that the "All" implementation follows this endpoint https://developer.yammer.com/docs/messagesjson while the "Top" messages follow this endpoint https://developer.yammer.com/docs/messagesalgojson using the same.

Just assign it to me.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions