GroupUpdate

interface GroupUpdate

Used with the org.inthewaves.kotlinsignald.Signal.updateGroup function. This is a class to enforce that only one of the group attributes are updated at once.

Types

Link copied to clipboard
class AddMembers(membersToAdd: Collection<JsonAddress>) : GroupUpdate
Link copied to clipboard
class Avatar(newAvatarPath: String) : GroupUpdate
Link copied to clipboard
class Description(newDescription: String) : GroupUpdate
Link copied to clipboard
class RemoveMembers(membersToRemove: Collection<JsonAddress>) : GroupUpdate
Link copied to clipboard
object ResetLink : GroupUpdate
Link copied to clipboard
class SetAnnouncement(setAnnouncementOnly: Boolean) : GroupUpdate

Whether to only allow admins to post messages.

Link copied to clipboard
class Title(newTitle: String) : GroupUpdate
Link copied to clipboard
class UpdateAccessControl(update: AccessControlUpdate) : GroupUpdate
Link copied to clipboard
class UpdateExpirationTimer(newTimerSeconds: Int) : GroupUpdate
Link copied to clipboard
class UpdateRole(memberWithUpdatedRole: GroupMember) : GroupUpdate

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard