/* tslint:disable:no-empty */ import { MessageOptions, Thread, Session, User } from 'libfb' export default class FakeClient { async login (username: string, password: string) {} getSession () { return { tokens: {}, deviceId: {} } as Session } async sendAttachmentFile (threadId: string, attachmentPath: string, extension?: string) {} async sendMessage (threadId: string, message: string, options?: MessageOptions): Promise<{ succeeded: boolean, errStr?: string }> { return { succeeded: true } } async getAttachmentURL (mid: string, aid: string): Promise { return '' } async getStickerURL (stickerID: number): Promise { return '' } async getThreadList (count: number): Promise { return [] } async getThreadInfo (threadID: string): Promise { return { isGroup: true, id: threadID, name: threadID, participants: [], image: '', unreadCount: 0, canReply: true, cannotReplyReason: '', isArchived: false, color: '#000000', emoji: '', nicknames: null } } async getUserInfo (userID: string): Promise { return { id: userID, name: 'Firstname Lastname', type: 'User', canMessage: true, emailAddresses: undefined, isBlocked: false, isMessengerUser: true, isPage: false, profilePicLarge: '', profilePicMedium: '', profilePicSmall: '' } } on (event: string, callback: any) {} constructor (data?: any) {} }