Skip to content

Commit e0d21ec

Browse files
committed
banner ad align property
1 parent 433723e commit e0d21ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/core/src/types/data.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,15 @@ export enum BannerAdLocation {
417417
BOTTOM = 'bottom',
418418
}
419419

420+
export enum BannerAdAlign {
421+
LEFT = 'left',
422+
RIGHT = 'right',
423+
CENTER = 'center',
424+
}
425+
420426
export type ShowBannerAdRequest = {
421427
banner_location: BannerAdLocation;
428+
banner_align?: BannerAdAlign;
422429
layout_type?: BannerAdLayoutType;
423430
can_close?: boolean;
424431
};
@@ -1042,6 +1049,7 @@ export type VKWebAppShowBannerAdResponse = {
10421049
banner_width: number;
10431050
banner_height: number;
10441051
banner_location: BannerAdLocation;
1052+
banner_align: BannerAdAlign;
10451053
layout_type: BannerAdLayoutType;
10461054
};
10471055

0 commit comments

Comments
 (0)