5 Feb
2024
5 Feb
'24
2:43 p.m.
チャンネル
__@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-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 のテスト。
```#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
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*
コメントでコードを書いてみる。
```fn get_users() -> HashMap<String, String> {
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. 列挙とか
などなど
> あと引用文も
> あああ
670
Age (days ago)
670
Last active (days ago)
0 comments
1 participants
participants (1)
-
bottest@zebra.ginzado.ne.jp