Add "This Message" reactions

This commit is contained in:
yash-signal 2025-06-06 12:44:38 -05:00 committed by GitHub
commit 9e3f397032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 503 additions and 225 deletions

View file

@ -21,6 +21,10 @@ export enum FunGifsCategory {
Angry = 'Angry',
}
export enum FunEmojisBase {
ThisMessage = 'ThisMessage',
}
export enum FunSectionCommon {
SearchResults = 'SearchResults',
Recents = 'Recents',
@ -48,7 +52,10 @@ export function toFunStickersPackSection(
return `StickerPack:${pack.id}` as FunStickersPackSection;
}
export type FunEmojisSection = FunSectionCommon | EmojiPickerCategory;
export type FunEmojisSection =
| FunSectionCommon
| EmojiPickerCategory
| FunEmojisBase;
export type FunStickersSection =
| FunSectionCommon
| FunStickersSectionBase
@ -56,8 +63,9 @@ export type FunStickersSection =
export type FunGifsSection = FunSectionCommon | FunGifsCategory;
export const FunEmojisSectionOrder: ReadonlyArray<
FunSectionCommon.Recents | EmojiPickerCategory
FunSectionCommon.Recents | FunEmojisBase.ThisMessage | EmojiPickerCategory
> = [
FunEmojisBase.ThisMessage,
FunSectionCommon.Recents,
EmojiPickerCategory.SmileysAndPeople,
EmojiPickerCategory.AnimalsAndNature,