TurnkeyClient
new TelegramCloudStorageStamper(): TelegramCloudStorageStamper
Defined in: telegram-cloud-storage-stamper/src/index.ts:36
TelegramCloudStorageStamper
Defined in: telegram-cloud-storage-stamper/src/index.ts:33optional
stamper:ApiKeyStamper
checkTelegramContext(): void
Defined in: telegram-cloud-storage-stamper/src/index.ts:151
void
clearItem(Defined in: telegram-cloud-storage-stamper/src/index.ts:244key
):Promise
<void
>
string
Promise
<void
>
getAPIKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:135key
):Promise
<null
|CloudStorageAPIKey
>
string
= DEFAULT_TURNKEY_CLOUD_STORAGE_KEY
Promise
<null
| CloudStorageAPIKey
>
getItem(Defined in: telegram-cloud-storage-stamper/src/index.ts:193key
):Promise
<string
>
string
Promise
<string
>
insertAPIKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:124apiPublicKey
,apiPrivateKey
,key
):Promise
<void
>
string
string
string
= DEFAULT_TURNKEY_CLOUD_STORAGE_KEY
Promise
<void
>
isCloudStorageAPIKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:186apiKey
):boolean
CloudStorageAPIKey
boolean
parseAPIKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:166apiKey
):null
| {apiPrivateKey
:any
;apiPublicKey
:any
; }
string
null
| { apiPrivateKey
: any
; apiPublicKey
: any
; }
setItem(Defined in: telegram-cloud-storage-stamper/src/index.ts:214key
,value
):Promise
<void
>
string
string
Promise
<void
>
setSigningKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:65config
?):Promise
<void
>
TTelegramCloudStorageStamperConfig
Promise
<void
>
stamp(Defined in: telegram-cloud-storage-stamper/src/index.ts:50payload
):Promise
<{stampHeaderName
:string
;stampHeaderValue
:string
; }>
string
Promise
<{ stampHeaderName
: string
; stampHeaderValue
: string
; }>
stringifyAPIKey(Defined in: telegram-cloud-storage-stamper/src/index.ts:159apiPublicKey
,apiPrivateKey
):string
string
string
string
Defined in: telegram-cloud-storage-stamper/src/index.ts:42static
create(config
?):Promise
<TelegramCloudStorageStamper
>
TTelegramCloudStorageStamperConfig
Promise
<TelegramCloudStorageStamper
>