handlematrix: implement group chat deletes (#126)

This commit is contained in:
Conan
2025-11-20 01:22:02 +08:00
committed by GitHub
parent ca46d36998
commit b3f9bfb5b3
4 changed files with 73 additions and 20 deletions
+5 -4
View File
@@ -50,10 +50,11 @@ type GhostMetadata struct {
}
type PortalMetadata struct {
IsSuperGroup bool `json:"is_supergroup,omitempty"`
ReadUpTo int `json:"read_up_to,omitempty"`
AllowedReactions []string `json:"allowed_reactions"`
LastSync jsontime.Unix `json:"last_sync,omitempty"`
IsSuperGroup bool `json:"is_supergroup,omitempty"`
ReadUpTo int `json:"read_up_to,omitempty"`
AllowedReactions []string `json:"allowed_reactions"`
LastSync jsontime.Unix `json:"last_sync,omitempty"`
ParticipantsCount int `json:"member_count,omitempty"`
}
func (pm *PortalMetadata) SetIsSuperGroup(isSupergroup bool) (changed bool) {