import { isObject } from '../../utils/types'

type PutAnnouncementResponse = {
    Answer: boolean
}

const isPutAnnouncementResponse = (obj: unknown): obj is PutAnnouncementResponse => (
    isObject(obj, {
        'Answer': 'boolean'
    })
)

type PutAnnouncement = boolean

export type { PutAnnouncementResponse, PutAnnouncement }

export { isPutAnnouncementResponse }
