Share via


/messages/in_group/[:group_id].json - Get

Definition

https://www.yammer.com/api/v1/messages/in_group/:group_id.json

Parameters

Name In Required Type Description
group_id Path string Id of the Group
older_than Query integer Returns messages in threads where the thread's latest message is older than the specified message ID. Any thread with a most recent message ID that is newer than or equal to the specified ID will not have any of its messages returned by this query.
newer_than Query integer Returns messages in threads where the thread's latest message is newer than the specified message ID. Any thread with a most recent message ID that is older than or equal to the specified ID will not have any of its messages returned by this query.
threaded Query boolean threaded=true will only return the thread starter (first message) for each thread. This parameter is intended for apps which need to display message threads collapsed. threaded=false will return the most recent message in the thread.
limit Query integer Return only the specified number of messages. Works for threaded=true and threaded=extended.

Documentation

Shows all the messages in the specified Yammer Group.

A 200 OK response includes the following fields.

Field Description
id Id of the message
sender_id Id of the user posting the message
created_at Date and time when the message was created
network_id Id of the network in which this message was posted
group_id Id of the group in which the message was posted
notified_user_ids Ids of the users mentioned in the message
privacy Whether the message was posted in a public or private group
liked_by Shows the reactions count on the message and the ids of the users who reacted to the message