Slack мессенджер
Содержание:
Ping and Pong
Clients should try to quickly detect disconnections, even in idle periods, so
that users can easily tell the difference between being disconnected and
everyone being quiet. Not all web browsers support the WebSocket ping spec, so
the RTM protocol also supports ping/pong messages. When there is no other
activity clients should send a ping every few seconds. To send a ping, send
the following JSON:
You can supply any number of extra «flat» arguments (that is: only scalar
values, no arrays or objects). These will be included in the pong message that
is sent back. For example, a client could include a local timestamp in the
ping message so it can calculate round-trip latency:
This will be included in the reply from the server:
Sending messages
You can send a message to Slack by sending JSON over the WebSocket connection.
Every event should have a unique (for that connection) positive integer
ID. All replies to that message will include this ID allowing the client to
correlate responses with the messages sent; replies may be «out of order»
due to the asynchronous nature of the message servers.
Also, as with events sent from the server, each event sent by the client has a
string specifying what the message does — chat messages are of type .
Channel selection
So to post the text «Hello world» to a channel, you can send this JSON:
You can send a message to a private group or direct message channel in the
same way, but using a group ID () or direct message channel ID ().
To send a message both as and to the authenticating user, use the correct direct message channel ID for that user. The direct message ID can be found as part of the response to , or by consulting .
Formatting messages
The RTM API only supports posting simple messages formatted using our
default message formatting mode. It does not support
attachments or other message formatting modes. To post a
more complex message as a user clients can call the
chat.postMessage Web API method with
set to true.
User mentions over RTM should use the User ID-based syntax:
Handling responses
Once the JSON has been sent to the server visual clients should immediately
display the text in the channel, grayed out or otherwise marked to indicate
that it is «pending». At some point after that, usually a few milliseconds
later, the server will send a confirmation that the message was received:
Replies to messages sent by clients will always contain two properties: a
boolean indicating whether they succeeded and an integer
indicating which message they are in response to.
In the case of a reply to a chat message, if successful, the reply will
contain the canonical recorded timestamp of the message. All messages within
a single channel are guaranteed to have a unique timestamp which is ASCII
sortable. Given the precision of the timestamp, clients should treat these
timestamps as strings, not floats/doubles. Once a successful reply has been
returned, the message in the chat log should no longer be grayed out — it has
now been delivered.
Chat message replies also contain the message text, which may vary from the
sent message due to URL detection.
Events API
How do I re-enable event subscriptions for my app?
If your app’s subscriptions are disabled due to exceeding Events API , manually re-enable them by visiting your application’s settings. If your app is part of the directory, use your Live App Settings instead of your development app.
When should I use the Events API and when should I use the RTM API?
Choose the Events API if:
- You want to precisely scope the data you receive to just what your app needs
- You prefer or must use an inbound request model due to
a) your hosting service not being able to maintain an outbound websocket connection
b) you prefer to scale your application on an inbound request model instead of maintaining multiple long-lived websocket connections - You’re converting a outgoing webhook integration into something installable as a Slack app.
- You don’t need data presented to you in real time as a firehose of information
- You find the reassuring for redundancy reasons
Or choose the RTM API if:
- You can’t or won’t create a Slack app to contain your creations
- You’re building an on-premise integration or have no ability to receive external HTTP requests
- You’re working on a distributed or mobile application without a server backend
- You just prefer working with websockets. That’s cool.
- You need events that just aren’t supported by the Events API
- You need compatibility with today’s existing tools
- Sending events is important for your app or bot user’s sense of self and agency
- You want data feed redundancy by opening additional websocket connections, or perhaps will augment with the Events API anyhow
- You want messages to be delivered to you in real time
- Receiving events in absolute order is important to you.
Or why not use the Events API and RTM API together?
- Receive event data two different ways to help redundancy needs
- You want to work with the Events API but you need time to transition from one to the other
- You want to better separate concerns or follow a more service-oriented architecture
- You want to offer the perks presented by either API as a premium application feature.
How do I make my bot appear active and present?
The answer depends on whether you’re using the Events API with or without the RTM API.
With the Events API, you must toggle your presence by managing your app’s bot user config.
With the RTM API, your bot is marked while connected to a websocket.
See for further
Other Services & Tools
This is a list of bots, plugins, and other tools that are available to work in conjunction with third-party services and tools.
Estimote Beacons
These open source repositories can be used to integrate with Estimote beacons.
- PreSenseBot — Example bot user that interacts with the beacon-aware PreSense iOS and Android apps.
- SlackStatus — An example iOS app for interacting with the Web API.
- slashnote — This Slash command example is used by note.cntxt, winner of the Slack-focused Estimote RealityHack competition.
WordPress
- Wordpress Plugin: Caldera Forms Slack Integration — Get notifications in Slack whenever a Caldera Form is submitted
- Wordpress Plugin: Slack — Send notifications to Slack when events occur in WordPress
- Wordpress Plugin: bbPress Slack — Send notifications of new bbPress topics and replies to Slack
Other tools
- Atlassian Stash — Send notifications to a Slack channel when a repo push occurs
- Looker — The Lookerbot for Slack makes it easy to bring data from Looker into every Slack conversation
- slack (Drupal) — Send messages from a Drupal website to Slack
- slack-chat (Drupal) — Allow your visitors to send instant messages from your website to your Slack account
- Slack Message Builder — A tool for previewing how JSON payloads translate to Slack messages
- stdlib — A suite of tools helping you rapidly build serverless Slack bots
- steno — A Slack app testing companion: record and replay your incoming & outgoing HTTP requests
- Unofficial TeamCity Slack plugin — Send notifications from TeamCity to Slack
Reach each other with @mentions
Why it matters
Work often involves waiting for reviews or approvals before you can move forward. When matters are time-sensitive or you want to address a specific person in Slack, you can grab their attention in any channel by mentioning their username preceded by an @ symbol. They will then get a notification.

How it works
After meetings on any project, head into the project’s dedicated channel in Slack and post an update for the team. Be sure to format key information into a bulleted list, such as:
- Decisions that were made
- Next steps with due dates. For each next step, be sure to @mention the teammate(s) who agreed to take them on so they receive the message and can confirm they’re accountable
- Any outstanding questions you’d like to discuss in the channel with the larger team
Поиск
1. Не тратьте время на поиски, Slack поможет найти нужную информацию с помощью расширенных поисковых модификаторов. Введите эти команды в поисковой строке:
- «in:» – чтобы найти сообщения и файлы в определенном канале;
- «in:» – чтобы найти сообщения в беседе с определенным человеком;
- «to:me» – чтобы найти сообщения, отправленные вам;
- «from:» – чтобы найти сообщения, отправленные определенным человеком;
- «from:me» – чтобы найти сообщения, отправленные вами;
- “has:link” – чтобы найти сообщения, которые содержат ссылку;
- «has:reaction» – чтобы найти сообщения, которые получили реакции;
- «before:»; «after:»; «on:[число/месяц/год]»; или «during:[месяц/год]» – чтобы найти сообщения за определенный период времени.
Чтобы сделать поиски еще более эффективными, объедините несколько команд. Например, «from:me has:link during:2017», чтобы найти отправленные вами в прошлом году сообщения со ссылками.
2. Хотите сузить поиск, чтобы не видеть информацию на ненужных каналах? Откройте настройки Slack (Preference) и зайдите в раздел «Search». Тут вы можете скрыть определенные каналы, чтобы они больше не появлялись в поиске.
3. Вы можете начать искать что-то сразу в поле ввода сообщения. Все, что вам нужно сделать, – напечатать «/s» и добавить то, что вам нужно найти.
4. Для оперативного поиска используйте Quick Switcher. Это быстро перенаправит вас на нужный канал, сообщение или команду. Просто нажмите Ctrl + K (для Windows) или Cmd + K (для Mac) и напечатайте первую букву канала или пользователя. Перед вами появится список вариантов.
5. Чтобы легче найти важные сообщения или файлы, прикрепите их к каналу или личному сообщению. Нажмите на меню (три точки) над сообщением и выберете «Pin to this conversation».

Фото: FastCompany
Как пользоваться Slack
1. Создание учетной записи
Если вы собрались проводить все операции непосредственно в приложении, тогда необходимо пройти несколько шагов. Для начала запустите Slack и в главном окне программы нажмите на ссылку «Create a new workspace» (если вы хотите создать собственное рабочее пространство) или же «Find your Slack workspace» (когда вам нужно присоединиться к готовому серверу), но мы выберем первый вариант.
Далее, введите адрес электронной почты, куда будет отправлено письмо с секретным кодом.
Введите секретный код в появившемся окне:
Заполните личные данные (ваше имя и отображаемый ник) и придумайте пароль.
Выполните базовую настройку создаваемой группы. Сюда вбивается информация касательно типа организации, количества пользователей, а также ваша роль на сервере, после чего можете смело придумать название и получить ссылку, которая будет использоваться для приглашения новых пользователей.
2. Внешний вид мессенджера
По окончании процедуры регистрации и создания/входа в группу, перед пользователями появится главное окно программы. В левой его части находятся текстовые каналы, главное меню, приложения и список пользователей, а в правой — окно с сообщениями, поиском по истории и многими другими настройками.
Стоит отметить, что некоторые пользователи Linux сразу после старта заметят проблемы с анимацией. Для их устранения необходимо отключить аппаратное ускорение. Делается это достаточно просто в несколько кликов. Нажмите на стрелочку, рядом с названием вашей группы, и выберите пункт «Prefertences».
В левой части окна, выберите «Linux App», а справа поставьте отметку на пункте «Disable hardware acceleration».
Чтобы все внесенные изменения вступили в силу, необходимо перезапустить приложение. Теперь рассмотрим более подробно как пользоваться slack.
3. Настраиваем свой профиль
Перед тем, как настроить Slack, желательно заполнить данные в своем профиле. Для этого необходимо нажать на название вашей группы, а в появившемся меню выбрать пункт «Profile & account». В правой части окна появится дополнительная колонка, где жмем на кнопку «Edit profile». Здесь вы можете изменить отображаемые имена, ваши обязанности, поставить статус, добавить номер телефона, установить часовой пояс и сменить аватар.
Помимо этого, можно нажать на иконку в виде шестеренки (Account Settings) и сделать более тонкую настройку непосредственно своего аккаунта.
Для повышения уровня безопасности рекомендуется в первую очередь включить двухфакторную аутентификацию (с подтверждением входа посредством мобильного телефона), а по необходимости вы можете открыть специальные шлюзы, посредством которых вы сможете писать сообщения в группы при помощи сторонних мессенджеров, например, Pidgin.
4. Настройка каналов
Каналы и группы Slack – это основа всего приложения. Вы можете ограничивать общение пользователей на отдельных каналах, сделать многоуровневую систему доступа для каждого сотрудника, а также совершить множество других операций.
Управление каналами производится в левой части окна. Чтобы добавить новый, необходимо нажать на кнопку «плюс» рядом с надписью «Channels».
Здесь вы можете установить тип доступа (публичный или приватный), задать название канала, краткое описание и разослать приглашения отдельным пользователям.
Чтобы внести изменения в уже существующий канал, необходимо выбрать нужный, после чего нажать на значок шестеренки в верхней правой части окна.
5. Отправка сообщений Slack
Приложение Slack достаточно простое в использовании. Чтобы написать сообщение достаточно выбрать пользователя или канал, и можно сразу приступать к общению. Помимо этого, премиум-пользователи могут совершать групповые звонки, что значительно облегчит и ускорит рабочий процесс.
6. Приглашение друзей
Пригласить пользователей в свою группу можно несколькими способами, которые мы уже рассмотрели немного выше:
- по прямой ссылке на группу, а в процессе можно сразу зарегистрировать аккаунт;
- используя сервис встроенную функцию приглашения, например во время создания канала.
7. Встроенные приложения
Расширить возможности программы Slack можно при помощи дополнительных приложений. Для этого необходимо нажать на «плюс» рядом с надписью «Apps» в левой части окна, после чего выбрать из списка наиболее популярные расширения. Если этого будет недостаточно, тогда в левом верхнем углу жмите на кнопку «Manage apps», и перед вами откроется сайт с полным перечнем доступных программ.
Frequently asked questions
Is Slack good for team selling?
Yes! Slack helps make sales a team sport by facilitating seamless and fast collaboration between cross-functional teams and decision makers in any organization. Here’s how:
- Quickly loop in colleagues, partners and experts to make decisions in real time.
- Integrate with your CRM to allow key account details to be viewed by everyone at your organization within in Slack.
- Set keyword notifications to spark collaboration and bring in experts to close deals faster.
- Tune into conversations in channels you’re not a member to gain deal-winning insights and knowledge.
Is Slack a CRM?
No, Slack is not a CRM, but it does integrate with your CRM, including Salesforce, Hubspot and Zoho. By using Slack and your CRM together, teams can easily stay in the loop on leads, account details and more from within Slack, allowing them to respond faster to new opportunities and collaborate seamlessly with colleagues across the organization.
How does Slack integrate with Salesforce?
Salesforce was one of Slack’s earliest partners, letting teams easily stay up-to-date on their Salesforce records from within Slack. There are two apps that connect Salesforce and Slack. In order to use the Salesforce app for Slack, a Salesforce System Administrator will need to install and configure the Slack app for Salesforce. Each app provides different functionality.
The Slack app for Salesforce
- Available in Salesforce AppExchange
- View Slack messages associated with a record
- Send Salesforce records to Slack
- Set up record alerts in Slack channels
The Salesforce app for Slack
- Available in the Slack App Directory
- Search and preview Salesforce records for all standard objects
- Route relevant alerts to channels
- Add Slack messages to Salesforce records
>> Learn more about how to superpower your sales with Slack + Salesforce integration and how it works.
What is a Slack Channel?
Channels are where work happens in Slack. A channel is a single place for a team to share messages, tools and files. People often create channels for company announcements, customer support triage, asking for IT or HR help, and sharing social interests. Channels can be public (open to everyone at the organization) or private (invite-only). In addition, organizations on a paid Slack plan can share a channel with external partners like agencies, clients and vendors with Slack Connect. Learn more about how channels can speed up your daily work here.
How do businesses use Slack?Slack helps organizations bring their people and tools together in one place so they can stay productive and aligned from anywhere. More than 750,000 businesses use Slack every day for team messaging, file sharing and video/voice calls. You can integrate thousands of tools, like Google Drive, Zoom and Salesforce, or create custom bots or apps just for your organization. Find out more about how Slack works here.
Производительность и стиль с Slack
Существует множество программ, посвященных производительности, но многие из них просто переупаковывают существующие инструменты. Slack, однако, не просто полезный инструмент для организации рабочего дня , но также предоставляет новые функции, которые вы не знали, что вам нужно. Это бесплатное приложение, которое доступно на настольных и мобильных устройствах в основных форматах, имеет очень высокое качество и заставит вас задаться вопросом, как вы справились без него.
Поднять слабину
Тэглайн для этого приложения « менее занят », что действительно происходит, если вы используете его правильно. Конечно, вы можете потерять некоторое время, пока вы получите всю команду, чтобы изучить приложение и выяснить, как его использовать, но в целом это сэкономит время и сделает все более продуктивным . Проще говоря, это приложение для обмена сообщениями, но оно приспособлено для преодоления ужасных проблем с коммуникацией, которые испытывают большинство современных офисов . Система вращается вокруг каналов, которые отмечены хэш-тегами. Каждому каналу присваивается название, например #Marketing или #Accounts. Когда вы хотите отправить сообщение команде маркетинга, вы просто нажимаете соответствующий канал. Если вы хотите связаться с конкретным лицом или иметь конфиденциальное сообщение, вы можете направить сообщение или DM этого пользователя. Эта услуга сопоставима с Skype или Messenger , но есть и другие функции. Вы можете легко переносить файлы, например, просто отбрасывая их. Это также интегрируется с любым существующим файлообменником, таким как Dropbox.
Оптимизированный и интуитивно понятный
Большим плюсом для Slack является то, что он очень интуитивно понятен, строит системы, используемые в обычных программах для обмена сообщениями, и оптимизирует некоторые вещи, чтобы сократить время, затрачиваемое на поиск кнопок. Это должно сократить время, потраченное на тренировку команды, чтобы использовать ее. Программа имеет очень мягкий, чистый интерфейс и современные стиль. Вы также можете интегрировать другое программное обеспечение, чтобы сократить обкачку окон, например, Twitter Google Drive и многое другое. Все они доступны для поиска в вашем архиве вместе с вашими сообщениями. Программное обеспечение даже индексирует внутри файлов, поэтому ваши поисковые запросы включают содержимое таких вещей, как PDF-файлы. Еще одно большое преимущество этого программного обеспечения заключается в том, что он легко синхронизируется с вашими мобильными устройствами, поэтому каждая база покрыта, и ее можно даже настроить, чтобы уведомлять вас об изменениях
Наконец, обратите внимание на небольшие штрихи, такие как частные каналы для высшего руководства, которые демонстрируют мысль, которая попала в это приложение
Ускорьте и сделайте все
Создатели Slack утверждают, что клиенты видят в среднем 48,6% сокращение внутренней электронной почты , что , несомненно, сэкономит время . Добавьте к этому тот факт, что программное обеспечение использовать для компаний любого размера, и на самом деле нет причин не проверять его . У компании также есть большая специализированная группа поддержки, которая поможет вам в интеграции в ваш офис. Недоброжелатели могут сказать, что это не делает ничего, что существующие пакеты программного обеспечения, но если вам нравится все в одном месте , это хорошее место для начала.
Процесс регистрации и первые шаги
Бизнес мессенджер Slack можно использовать прямо в браузере – или скачать мобильное приложение на Андроид/Айфон. Можно сделать и то, и другое, ведь приложение кроссплатформенное!
Если вы хотите скачать программу на телефон, действуем по привычной схеме:
- Откройте магазин программ Эппл или Гугл;
- Введите название сервиса Slack в строку поиска;
- Выберите нужный результат из выдачи и кликните по кнопке «Скачать»;
- Дождитесь автоматической инсталляции и щелкните по иконке, чтобы открыть.

О процессе создания учетной записи мы расскажем чуть ниже – все просто.
Также мессенджер Slack можно использовать в браузере – давайте попробуем пройти регистрацию.

Укажите, пользуется ли ваша компания мессенджером или нет;

Введите действующий адрес электронной почты и дождитесь получения письма с кодом подтверждения;

- Впишите код в соответствующее поле;
- Введите имя и фамилию пользователя, придумайте никнейм;
- Переходите к созданию пароля – надежную запоминающуюся комбинацию нужно повторить дважды;
- В новом окне выберите, зачем компания будет использовать корпоративный мессенджер Slack – укажите цель использования;
- Ниже откроется небольшой список специализаций – выберите подходящий вариант для вашей организации;
- В последнее окошко впишите количество человек, которые будут пользоваться сервисом;
- Назовите компанию и впишите желаемое имя домена (подойдет название организации);
- Теперь введите электронные адреса других сотрудников и кликните по кнопке «Send invitations», чтобы отправить приглашения.

Начнем пользоваться! Обратите внимание на левую панель:
- Нажмите на название группы, чтобы открыть меню «Profile & account». Здесь появится дополнительное меню, где нужно найти кнопку «Edit profile», чтобы поменять имя, обязанности или номер телефона;
- Ниже есть иконки «Channels» и «Direct Messages». Здесь отображаются каналы и личные сообщения – чтобы создать новый канал или переписку, нужно просто нажать на плюсик;
- Ниже есть значок «Invite», позволяющий добавлять новых пользователей.

Корпоративный мессенджер Slack – аналог устаревшего Скайпа и других программ для общения. Это приложение создано специально для бизнеса, что подтверждается высокой функциональностью, простотой управления и приятным интерфейсом. Мы однозначно рекомендуем установить мессенджер для корпоративного общения и сделать рабочие процессы упорядоченными!
Slack 2.8.0
September 11, 2017
What’s New
- Slack is now fully available in French, Spanish and German, down to the very last emoji, you’ll find the options in Preferences > Language & Region.
- Also, we added support for a brand new way of working with external companies from within Slack.
- AND a whole new way of handling name tagging in order to handle the exciting world of challenges brought by the two things above.
- All mentions of “team” have been changed to “workspace” when referring to the app, though not when referring to the people in it. You create a workspace. You invite people from your team. Simple!
- You can now configure the language used by the spellchecker in Preferences to be the language you wish to spell correctly.
- You can now configure your delivery method of choice for notifications (build-in, Action Center, Action Center Abbreviated), in addition to being able to configure the position of those notifications (again)
Web API
Yes, the Web API accepts both POSTs as well as .
See this documentation on for more information.
How is the API rate limited?
Slack rate limits all aspects of platform use with many factors. Rate limits are currently unpublished. Review our rate limiting documentation for more detail.
The guiding spirit of Slack’s rate limiting is to ensure that teams are able to communicate effortlessly and without distraction.
Because the limits are unpublished, you won’t know that you’re about to hit a rate limit in advance. You will receive a rate limited message in response to a request and will then need to wait for the next rate limiting window to open.
The next rate limit is indicated by a HTTP header called , presented in seconds to wait before attempting another request. If the value were , then you should wait 10 seconds or more before retrying that request.
You may find that you can’t perform certain bursty actions, like attempting to message every member of a large workspace simultaneously. In some cases, hitting rate limits may be a symptom that there are better ways to to accomplish your goal. Some times you just need to work slower.
Bot users associated with many workspaces may hit rate limits while using too quickly. Queue up your connection requests or throttle otherwise after your service restarts.
Finally, developers working with the Real Time Messaging API have special considerations worth reading .
For more information, consult our rate limiting documentation.
How do I work with files?
The Real Time Messaging API and other reference file objects that contain a suite of details about the content type of the file and absolute URLs where those files can be retrieved or used for display.
As of January 4th, 2016, applications must provide authentication to access the actual files that file objects reference. There’s a discussing this change of behavior.
File objects contain and fields, as well as fields for private thumbnail URLs as applicable.
To retrieve these URLs, you must provide a HTTP Authentication header containing a bearer token that’s been awarded the or scopes.
For example, to retrieve a field containing and your bearer token was , you’d need to send a request like this:
How do I find a channel’s ID if I only have its #name?
Use to retrieve a list of channels. The list includes each channel’s and fields.
Many developers keep the list of channels in memory for swifter lookups. Poll the method occasionally to refresh your inventory or keep keep it updated with the Events API.
There are currently no methods to lookup channels by name.
How do I find a channel’s name if I only have its ID?
You can use similar instructions to the question above, or you can use dedicated methods to look up a channel by its ID.
Use to obtain a specific channel’s information, including its .
Do channel IDs stay the same when moving between public and private?
As of September 2018, yes, channel IDs remain static even when a channel is converted between public and private.
Use the Conversations API to safely work with channels that have transitioned between public and private.




