blob: 2687352abae190351cc979528d20a45fb9ed5cf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package letter
type CreateRequest struct {
Recipients []string `json:"recipients"`
Title string `json:"title"`
Body string `json:"body"`
}
type SendMessageRequest struct {
Body string `json:"body"`
}
type EditMessageRequest struct {
Body string `json:"body"`
}
type RenameRequest struct {
Title string `json:"title"`
}
type RemoveParticipantRequest struct {
Username string `json:"username"`
}
|