| Package | Description |
|---|---|
| com.github.seratch.jslack.shortcut | |
| com.github.seratch.jslack.shortcut.impl | |
| com.github.seratch.jslack.shortcut.model |
| Modifier and Type | Method and Description |
|---|---|
Optional<ChannelName> |
Shortcut.findChannelNameById(ChannelId channelId)
Returns a channel's human readable name corresponding to a given channel id if exists.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ChannelId> |
Shortcut.findChannelIdByName(ChannelName name)
Returns ChannelId corresponding to a given channel name if exists.
|
List<Message> |
Shortcut.findRecentMessagesByName(ChannelName name)
Returns a list of messages in the channel a given name matches.
|
List<Message> |
Shortcut.findRecentMessagesByName(ChannelName name,
int limit) |
ChatPostMessageResponse |
Shortcut.post(ChannelName channel,
List<LayoutBlock> blocks)
Posts a message to a given channel.
|
ChatPostMessageResponse |
Shortcut.post(ChannelName channel,
String text)
Posts a message to a given channel.
|
ChatPostMessageResponse |
Shortcut.post(ChannelName channel,
String text,
List<Attachment> attachments)
Posts a message to a given channel.
|
ChatPostMessageResponse |
Shortcut.postAsBot(ChannelName channel,
List<LayoutBlock> blocks) |
ChatPostMessageResponse |
Shortcut.postAsBot(ChannelName channel,
String text) |
ChatPostMessageResponse |
Shortcut.postAsBot(ChannelName channel,
String text,
List<Attachment> attachments) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ChannelName> |
ShortcutImpl.findChannelNameById(ChannelId channelId) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ChannelId> |
ShortcutImpl.findChannelIdByName(ChannelName name) |
List<Message> |
ShortcutImpl.findRecentMessagesByName(ChannelName name) |
List<Message> |
ShortcutImpl.findRecentMessagesByName(ChannelName name,
int limit) |
ChatPostMessageResponse |
ShortcutImpl.post(ChannelName channel,
List<LayoutBlock> blocks) |
ChatPostMessageResponse |
ShortcutImpl.post(ChannelName channel,
String text) |
ChatPostMessageResponse |
ShortcutImpl.post(ChannelName channel,
String text,
List<Attachment> attachments) |
ChatPostMessageResponse |
ShortcutImpl.postAsBot(ChannelName channel,
List<LayoutBlock> blocks) |
ChatPostMessageResponse |
ShortcutImpl.postAsBot(ChannelName channel,
String text) |
ChatPostMessageResponse |
ShortcutImpl.postAsBot(ChannelName channel,
String text,
List<Attachment> attachments) |
| Modifier and Type | Method and Description |
|---|---|
static ChannelName |
ChannelName.of(String value) |
Copyright © 2019. All Rights Reserved.