We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 433723e + e0d21ec commit f533b7cCopy full SHA for f533b7c
packages/core/src/types/data.ts
@@ -417,8 +417,15 @@ export enum BannerAdLocation {
417
BOTTOM = 'bottom',
418
}
419
420
+export enum BannerAdAlign {
421
+ LEFT = 'left',
422
+ RIGHT = 'right',
423
+ CENTER = 'center',
424
+}
425
+
426
export type ShowBannerAdRequest = {
427
banner_location: BannerAdLocation;
428
+ banner_align?: BannerAdAlign;
429
layout_type?: BannerAdLayoutType;
430
can_close?: boolean;
431
};
@@ -1042,6 +1049,7 @@ export type VKWebAppShowBannerAdResponse = {
1042
1049
banner_width: number;
1043
1050
banner_height: number;
1044
1051
1052
+ banner_align: BannerAdAlign;
1045
1053
layout_type: BannerAdLayoutType;
1046
1054
1047
1055
0 commit comments