Type aliases
BannedUserList
BannedUserList: string[]
ErrDataCallback
ErrDataCallback: (err: Error | null, data?: unknown) => void
Type declaration
-
- (err: Error | null, data?: unknown): void
-
Parameters
-
err: Error | null
-
Optional data: unknown
Returns void
GenericErrCallback
GenericErrCallback: (err: Error | null) => void
Type declaration
-
- (err: Error | null): void
IsBannedCallback
IsBannedCallback: (isBanned: boolean, users?: string[] | null) => void
Type declaration
-
- (isBanned: boolean, users?: string[] | null): void
-
Parameters
-
isBanned: boolean
-
Optional users: string[] | null
Returns void
LoginCallback
LoginCallback: (err: Facebook.ILoginError, api: Facebook.API) => void
Type declaration
-
- (err: Facebook.ILoginError, api: Facebook.API): void
-
Parameters
-
err: Facebook.ILoginError
-
api: Facebook.API
Returns void
StringDict
StringDict: {}
SuccessCallback
SuccessCallback: (success: boolean) => void
UsersCallback
Users
Callback: (err: Error | null, users?: BannedUserList | null) => void
A list of users who are currently banned across all BotCore instances