wechaty-puppet-padplus
Version:
Puppet Padplus for Wechaty
36 lines • 1.07 kB
TypeScript
import { FriendshipType } from 'wechaty-puppet';
export interface PadplusRequestTokenPayload {
full_url: string;
info: string;
message: string;
share_url: string;
status: number;
}
export interface PadplusFriendshipPayload {
fromusername: string;
encryptusername: string;
content: string;
ticket: string;
}
export interface FriendshipPayloadBase {
id: string;
contactId: string;
hello?: string;
timestamp?: number;
}
export declare type FriendshipPayloadConfirm = FriendshipPayloadBase & {
type: FriendshipType.Confirm;
};
export declare type FriendshipPayloadReceive = FriendshipPayloadBase & {
stranger?: string;
ticket: string;
type: FriendshipType.Receive;
};
export declare type FriendshipPayloadVerify = FriendshipPayloadBase & {
type: FriendshipType.Verify;
};
export declare type FriendshipPayload = FriendshipPayloadConfirm | FriendshipPayloadReceive | FriendshipPayloadVerify;
export interface AddContactGrpcResponse {
status: string;
}
//# sourceMappingURL=model-friendship.d.ts.map