JSLib Reference Manual / Exports / SBFile
Class: SBFile#
SBFile
Hierarchy#
-
↳
SBFile
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor#
• new SBFile(channel, file)
Parameters#
Name |
Type |
|---|---|
|
|
|
|
Overrides#
Properties#
MAX_SB_BODY_SIZE#
• MAX_SB_BODY_SIZE: number
Inherited from#
[SB_MESSAGE_SYMBOL]#
• [SB_MESSAGE_SYMBOL]: boolean = true
Inherited from#
channel#
• channel: Channel
Inherited from#
contents#
• contents: SBMessageContents
Inherited from#
data#
• data: Dictionary<string>
image#
• image: string = ''
imageMetaData#
• imageMetaData: ImageMetaData = {}
image_sign#
• image_sign: string = ''
ready#
• ready: Promise<SBMessage>
Inherited from#
Methods#
#asImage#
▸ Private #asImage(image, signKey): Promise<void>
Parameters#
Name |
Type |
|---|---|
|
|
|
|
Returns#
Promise<void>
send#
▸ send(): Promise<string>
SBMessage.send()
Returns#
Promise<string>