feat(MessageDetails): Add a GSON serialization adapter that keeps track of class names automatically
xtaodada committed
- Author
- xtaodada · xtao@xtao.deAug 2, 2026 at 12:30
- Committer
- xtaodada · xtao@xtao.deAug 2, 2026 at 12:46
- Parents
- 2a65af1034de
feat(MessageDetails): Add a GSON serialization adapter that keeps track of class names automatically 实现了基于TypeAdapterFactory的GSON扩展,序列化时会向JSON对象追加_字段存储类名缩写,反序列化时根据该字段自动还原为对应实体类,方便TLRPC类的序列化与反序列化操作 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 file changed+97−0