Open not-so-smart opened 2 years ago
Note that polls are already documented here, but it doesn't say anything about how to manually add them to a message, because as far as I know, sending a message about an event is an intrinsic part of creating it - you can't make it without a message about it being sent.
Note that polls are already documented here, but it doesn't say anything about how to manually add them to a message, because as far as I know, sending a message about an event is an intrinsic part of creating it - you can't make it without a message about it being sent.
See #5, some attachments can't be sent (only received) and should be labelled as such on the docs
Makes sense, carry on
event
see #6 for details
file
{
type: "file",
file_id: string,
}
file_id
- Full UUID string
poll
{
type: "poll",
poll_id: string,
}
poll_id
- Timestamp(?) string
linked_image
{
type: "linked_image",
url: string,
}
url
- URL string
i.groupme.com
link - (?)autokicked_member
{
type: "autokicked_member",
user_id: string,
}
user_id
- User ID string
I analyzed a bunch of messages from a large group and found these attachment types. (Sample: 80,000 messages from 1 group, August 2020-August 2021)
These ones are already documented:
image
video
emoji
reply
mentions
These ones are documented, but they didn't show up at all in my sample: (perhaps deprecated?)
location
split
These ones still need documentation:
event
file
linked_image
poll
autokicked_member
I'll add examples of each in the comments