Slack Digest: 1707024447 1707110852
チャンネル
__@m-asama__ *2024-02-04 15:47:53 UTC* テスト
__@m-asama__ *2024-02-04 15:53:58 UTC* テストx
__@m-asama__ *2024-02-05 05:07:40 UTC* slack digest のテスト。
struct Msg {
user: String,
text: String,
html: String,
ts: String,
datetime: String,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
struct Thread {
root: Msg,
messages: Vec<Msg>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
struct MailData {
channel_messages: Vec<Msg>,
threads: Vec<Thread>,
}
こんな感じのコードを書いても大丈夫?
__@m-asama__ *2024-02-05 05:09:52 UTC* そういや「以下にも投稿する」をチェックするとどうなるんだろう。。
スレッド
__@m-asama__ *2024-02-04 15:47:53 UTC* テスト ...
__@m-asama__ *2024-02-04 15:48:02 UTC* テスト
__@m-asama__ *2024-02-04 15:49:50 UTC* テスト2
__@m-asama__ *2024-02-04 15:53:58 UTC* テストx ...
__@m-asama__ *2024-02-04 15:54:05 UTC* テストy
__@m-asama__ *2024-02-05 05:07:40 UTC* slack digest のテスト。
struct Msg {
user: String,
text: String,
html: String,
ts: String,
datetime: String,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
struct Thread {
root: Msg,
messages: Vec<Msg>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
struct MailData {
channel_messages: Vec<Msg>,
threads: Vec<Thread>,
}
こんな感じのコードを書いても大丈夫? ...
__@m-asama__ *2024-02-05 05:08:06 UTC* コメントでコードを書いてみる。
let client = reqwest::blocking::Client::new();
let res = client
.post("<https://slack.com/api/users.list>")
.header(
reqwest::header::AUTHORIZATION,
format!("Bearer {}", BOT_USER_OAUTH_TOKEN),
)
.json("{}")
.send();
__@m-asama__ *2024-02-05 05:09:17 UTC* あと*太字*とか_イタリック_とか~打ち消し線~とか。 • 箇条書きとか あるいは
- 列挙とか
などなど > あと引用文も > あああ
__@m-asama__ *2024-02-05 05:09:52 UTC* そういや「以下にも投稿する」をチェックするとどうなるんだろう。。
participants (1)
-
bottest@zebra.ginzado.ne.jp