Update 2017-07-12: As promised, the latest
fields within rtm.start
's channel objects are no longer returned. Additionally, the unread_count
and unread_count_display
channel fields are also missing, though they can still be found in conversations.info
.
rtm.start
began life as a broker and bootstrap to Websocket connections established by Slack's desktop and mobile clients. Whenever our clients needed more information to establish state, those fields would get stuffed into the cacophony that is rtm.start
's opening salvos.
As team sizes and feature complexity has grown, delivering this immense quantity of information about nearly every user, channel, and conversation on a team has become more difficult to compute, consume, or continue.
It is in this spirit we offer a friendlier alternative in rtm.connect
, a method born with the sole purpose of reserving a websocket connection and providing your application its URL.
rtm.start
must evolve to continue functioning well for all teams and apps. We strongly recommend using rtm.connect
to establish your connections alongside Web API methods to build your app's understanding of the users, channels, and conversations within a team.
One such change coming to rtm.start
is the elimination of the latest
attribute assigned to each channel
in its response.
On July 11, 2017 we'll no longer return these latest
fields. If your app needs a channel's latest timestamp value, use conversations.info
to retrieve it instead.
You can test this future behavior in rtm.start
today by providing the no_latest=1
parameter.