import { ACTION, ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../cmd-protocol"; import { IBACKENDPAYLOAD } from "./backend"; import { baseParamsType } from "./command/baseparams"; import { channelIdOrChatId } from "./channel"; import IChannelNote from "./channelinfo"; /** * Transport for Contact note */ export declare class CMDC_CONTACTNOTE implements ICOMMAND { action: ACTION; params: channelIdOrChatId & IChannelNote; } /** * Set Contact note */ export declare class CMDP_SETCONTACTNOTE implements ICOMMAND, IBACKENDPAYLOAD { action: ACTION; params: baseParamsType & channelIdOrChatId & IChannelNote; payload?: unknown; } /** * Response for CMDP_SETCONTACTNOTE */ export declare class CMDP_SETCONTACTNOTE_RESPONSE extends CMDP_SETCONTACTNOTE implements IRESPONSE, IBACKENDPAYLOAD { result: RESULT; commands: ICOMMAND[]; /** unused */ values: IKeyMaybeValue; } /** * Get Contact Note */ export declare class CMDP_GETCONTACTNOTE implements ICOMMAND, IBACKENDPAYLOAD { action: ACTION; params: baseParamsType & channelIdOrChatId; payload?: unknown; } /** * Response for CMDP_GETCONTACTNOTE */ export declare class CMDP_GETCONTACTNOTE_RESPONSE extends CMDP_GETCONTACTNOTE implements IRESPONSE { result: RESULT; commands: CMDC_CONTACTNOTE[]; /** unused */ values: IKeyMaybeValue; } /** depricated, 8320 only */ export declare class CMDP_SSETCONTACTNOTE extends CMDP_SETCONTACTNOTE { action: ACTION; } /** depricated, 8320 only */ export declare class CMDP_SSETCONTACTNOTE_RESPONSE extends CMDP_SETCONTACTNOTE_RESPONSE { action: ACTION; } /** depricated, 8320 only */ export declare class CMDP_SGETCONTACTNOTE extends CMDP_GETCONTACTNOTE { action: ACTION; } /** depricated, 8320 only */ export declare class CMDP_SGETCONTACTNOTE_RESPONSE extends CMDP_GETCONTACTNOTE_RESPONSE { action: ACTION; }