import { Emoji } from './emoji' ; import { Message } from './message' ; import { ChatKittyPaginator } from './pagination' ; import { ChatKittyFailedResult , ChatKittyResult , ChatKittySucceededResult } from './result' ; import { User } from './user' ; export declare class Reaction { emoji : Emoji ; user : User ; createdTime : string ; _relays : ReactionRelays ; } export declare class ReactionRelays { message : string ; } export declare class ReactionSummary { emojis : ReactionSummaryEmoji [ ] ; } export declare class ReactionSummaryEmoji { emoji : Emoji ; users : User [ ] ; count : number ; } export declare class ReactToMessageRequest { message : Message ; emoji : string ; } export type ReactToMessageResult = ChatKittyResult < ReactedToMessageResult > | ReactedToMessageResult | ChatKittyFailedResult ; export class ReactedToMessageResult extends ChatKittySucceededResult { constructor ( public reaction ) { super ( ) ; } } export declare class GetReactionsRequest { message : Message ; } export type GetReactionsResult = ChatKittyResult < GetReactionsSucceededResult > | GetReactionsSucceededResult | ChatKittyFailedResult ; export class GetReactionsSucceededResult extends ChatKittySucceededResult { constructor ( public paginator ) { super ( ) ; } } export declare class RemoveReactionRequest { message : Message ; emoji : string ; } export type RemoveReactionResult = ChatKittyResult < RemovedReactionResult > | RemovedReactionResult | ChatKittyFailedResult ; export class RemovedReactionResult extends ChatKittySucceededResult { constructor ( public reaction ) { super ( ) ; } }