チャンネル


@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

あと太字とか_イタリック_とか~打ち消し線~とか。
• 箇条書きとか
あるいは


  1. 列挙とか
    などなど
    > あと引用文も
    > あああ

@m-asama --- 2024-02-05 05:09:52 UTC

そういや「以下にも投稿する」をチェックするとどうなるんだろう。。

@m-asama --- 2024-02-05 06:03:13 UTC

  1. あああ

  2. いいい

@m-asama --- 2024-02-05 06:03:20 UTC

• あああ
• いいい