Open AshciR opened 5 months ago
Spoiler message properties
(MessageEntity(length=5, offset=8, type=<MessageEntityType.SPOILER>), MessageEntity(length=4, offset=22, type=<MessageEntityType.SPOILER>), MessageEntity(length=4, offset=40, type=<MessageEntityType.SPOILER>))
Send redacted messages to the bot and determine how it responds to these messages.
"Alrick Brown: I am [redacted] person [redacted]"
Send full message to the bot, but let the bot know when messages contain spoiler content.
{
"Alrick Brown: I am a person who lives",
"spoilers":[
{
"start": 0,
"length": 5
},
{
"start": 7,
"length": 3
}
]
}
Decided on not saving messages with spoilers in them
/gist
may spoil events for users b/c hidden contents are summarized.