node-groupme
Version:
The only GroupMe API library that isn't a million years old.
21 lines (16 loc) • 581 B
text/typescript
import type { APIGroup } from 'groupme-api-types'
import type { Client, Group } from '..'
import { BaseGroup, ChannelType } from '..'
interface FormerGroupInterface {
rejoin(): Promise<Group>
}
export default class FormerGroup extends BaseGroup implements FormerGroupInterface {
readonly type = ChannelType.FormerGroup
// formergroup needs to share all properties with group EXCEPT sendable
constructor(client: Client, data: APIGroup) {
super(client, data)
}
rejoin(): Promise<Group> {
throw new Error('Method not implemented.')
}
}