Skip to content

Commit

Permalink
chore(upload): add support clickable_stickers in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
negezor committed Nov 2, 2023
1 parent ad7d397 commit b2b7b2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vk-io/src/upload/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ export class Upload {
reply_to_story?: string;
link_text: string;
link_url: string;
clickable_stickers?: string;
},
): Promise<StoryAttachment> {
const { items: [story] } = await this.conduct({
Expand All @@ -759,6 +760,7 @@ export class Upload {
'link_url',
'group_id',
'attach_access_key',
'clickable_stickers',
],

saveFiles: file => (
Expand Down Expand Up @@ -788,6 +790,7 @@ export class Upload {
reply_to_story?: string;
link_text: string;
link_url: string;
clickable_stickers?: string;
},
): Promise<StoryAttachment> {
const { items: [story] } = await this.conduct({
Expand All @@ -802,6 +805,7 @@ export class Upload {
'link_text',
'link_url',
'group_id',
'clickable_stickers',
],

saveFiles: file => (
Expand Down

0 comments on commit b2b7b2c

Please sign in to comment.