aboutsummaryrefslogtreecommitdiff
path: root/definitions/structs/group.yml
blob: dc1ead056074abe4580205006ab487f68484ad72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
name: Group
definition: A group channel, potentially including other users, separate from a server.
fields:
  - name: channel_id
    type: ChannelId
  - name: icon
    optional: true
    type: string
  - name: last_message_id
    optional: true
    type: MessageId
  - name: last_pin_timestamp
    optional: true
    type: string
  - name: name
    optional: true
    type: string
  - name: owner_id
    type: UserId
  - name: recipients
    custom: decode_users
    t: UserId, User
    type: hashmap