mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
lint: 0 warnings left
This commit is contained in:
@@ -15,6 +15,6 @@ export interface Contact {
|
||||
* null => if the profile picture has not been set (default profile picture)
|
||||
* any other string => url of the profile picture
|
||||
*/
|
||||
imgUrl?: string | null | 'changed'
|
||||
imgUrl?: string | null
|
||||
status?: string
|
||||
}
|
||||
@@ -23,7 +23,9 @@ export type WAGenericMediaMessage = proto.Message.IVideoMessage | proto.Message.
|
||||
export import WAMessageStubType = proto.WebMessageInfo.StubType
|
||||
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
|
||||
export import WAMessageStatus = proto.WebMessageInfo.Status
|
||||
export type WAMediaUpload = Buffer | { url: URL | string } | { stream: Readable }
|
||||
export type WAMediaPayloadURL = { url: URL | string }
|
||||
export type WAMediaPayloadStream = { stream: Readable }
|
||||
export type WAMediaUpload = Buffer | WAMediaPayloadStream | WAMediaPayloadURL
|
||||
/** Set of message types that are supported by the library */
|
||||
export type MessageType = keyof proto.Message
|
||||
|
||||
|
||||
@@ -125,7 +125,4 @@ export type SocketConfig = {
|
||||
cachedGroupMetadata: (jid: string) => Promise<GroupMetadata | undefined>
|
||||
|
||||
makeSignalRepository: (auth: SignalAuthState) => SignalRepository
|
||||
|
||||
/** Socket passthrough */
|
||||
socket?: any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user