Slack.com

From Omnia
Jump to navigation Jump to search

Slack

Stay Connected

Get full access to your messages and archives, upload files easily, and receive notifications whether you’re at your desk or on the go.


A messaging app for teams who put robots on Mars

Download

https://slack.com/downloads

Team Name

Pidgin

See #XMPP

XMPP

Gateways - https://[DOMAIN].slack.com/account/gateways

Team Icon

Google Calendar Integration

Google Calendar App - https://slack.com/apps/A0F8149ED-google-calendar

Message Formatting

Slack supported formatting includes:

```pre```
`code`
_italic_
*bold*
~strike~
`highlight in red inline`
```
multi line
pre-formatted text
```
> single line quote
>>>
multi line
block quote
[shift] + [enter] to enter new line
Make a list: (doesn't do anything fancy)
1. one
2. two
  a. three
[alt] + [0149] to enter a bullet

Reference: https://get.slack.help/hc/en-us/articles/202288908-How-can-I-add-formatting-to-my-messages-

Search

from:@member
from:me
in:@member
in:#channel
has:star pin link

searchinslack.png


Search in Slack – Slack Help Center - https://get.slack.help/hc/en-us/articles/202528808-Search-in-Slack-

API

Find the custom integration area in Slack. On the page select "Apps & Integration", then click “build” on the upper right. Finally, click “Make a Custom Integration” and select a target channel, then “incoming webhooks”.

curl -­X POST -­-­data "payload={"text": "Cool Message"}" https://hooks.slack.com/services/XXX/XXX/XXX
curl -X POST --data-urlencode 'payload={"channel": "#general", "username": "webhookbot",\
  "text": "This is posted to #general and comes from a bot named webhookbot.", "icon_emoji": ":ghost:"}'\
   https://hooks.slack.com/services/XXX/XXX/XXX

Text:

payload={"text": "This is a line of text in a channel.\nAnd this is another line of text."}

Link:

payload={"text": "<https://slack.com>"}

Link channel or user:

<#general> or <@ezra>

Incoming webhooks have a default channel, but it can be overridden in your JSON payload. A public channel can be specified with "channel": "#other-channel", and a Direct Message with "channel": "@username".

Incoming Webhooks | Slack - https://api.slack.com/incoming-webhooks

keywords