Update content of files

This commit is contained in:
GitHub Action 2022-10-18 18:19:52 +00:00
parent 4eca245022
commit a99972b47b
20 changed files with 147 additions and 38 deletions

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<table class="table">
<thead>

View file

@ -962,7 +962,7 @@ See also TL-Schema…">
<a href="/constructor/channels.adminLogResults" >channels.adminLogResults</a>#ed8af74d events:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/ChannelAdminLogEvent" >ChannelAdminLogEvent</a>&gt; chats:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/Chat" >Chat</a>&gt; users:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/User" >User</a>&gt; = <a href="/type/channels.AdminLogResults" >channels.AdminLogResults</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/popularContact" >popularContact</a>#5ce14175 client_id:<a href="/type/long" >long</a> importers:<a href="/type/int" >int</a> = <a href="/type/PopularContact" >PopularContact</a>;

File diff suppressed because one or more lines are too long

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#constructors" id="constructors" name="constructors"><i class="anchor-icon"></i></a>Constructors</h3>
<table class="table">
<thead>

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<table class="table">
<thead>

View file

@ -962,7 +962,7 @@ See also TL-Schema…">
<a href="/constructor/channels.adminLogResults" >channels.adminLogResults</a>#ed8af74d events:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/ChannelAdminLogEvent" >ChannelAdminLogEvent</a>&gt; chats:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/Chat" >Chat</a>&gt; users:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/User" >User</a>&gt; = <a href="/type/channels.AdminLogResults" >channels.AdminLogResults</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/popularContact" >popularContact</a>#5ce14175 client_id:<a href="/type/long" >long</a> importers:<a href="/type/int" >int</a> = <a href="/type/PopularContact" >PopularContact</a>;

File diff suppressed because one or more lines are too long

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#constructors" id="constructors" name="constructors"><i class="anchor-icon"></i></a>Constructors</h3>
<table class="table">
<thead>

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" class="current_page_link" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<table class="table">
<thead>

View file

@ -989,7 +989,7 @@ See also TL-Schema…">
<a href="/constructor/channels.adminLogResults" >channels.adminLogResults</a>#ed8af74d events:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/ChannelAdminLogEvent" >ChannelAdminLogEvent</a>&gt; chats:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/Chat" >Chat</a>&gt; users:<a href="/type/Vector%20t" >Vector</a>&lt;<a href="/type/User" >User</a>&gt; = <a href="/type/channels.AdminLogResults" >channels.AdminLogResults</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" >ChannelAdminLogEventsFilter</a>;
<a href="/constructor/popularContact" >popularContact</a>#5ce14175 client_id:<a href="/type/long" >long</a> importers:<a href="/type/int" >int</a> = <a href="/type/PopularContact" >PopularContact</a>;

File diff suppressed because one or more lines are too long

View file

@ -55,7 +55,7 @@
</li>
</ul>
</div>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<pre class="page_scheme"><code><a href="/constructor/channelAdminLogEventsFilter" >channelAdminLogEventsFilter</a>#ea107ae4 flags:<a href="/type/%23" >#</a> join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = <a href="/type/ChannelAdminLogEventsFilter" class="current_page_link" >ChannelAdminLogEventsFilter</a>;</code></pre></p>
<h3><a class="anchor" href="#constructors" id="constructors" name="constructors"><i class="anchor-icon"></i></a>Constructors</h3>
<table class="table">
<thead>

View file

@ -22,7 +22,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -106,13 +106,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -22,7 +22,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -106,13 +106,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
openPopup('#login-popup-container');
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});

View file

@ -22,7 +22,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -106,13 +106,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -257,17 +257,29 @@ i.emoji > b {
}
.emoji_image i.emoji {
width: 1.25em;
height: 1.25em;
vertical-align: top;
display: inline-block;
white-space: nowrap;
overflow: hidden;
background: no-repeat 2px 50%;
background-position-y: calc(50% - 1px);
background: no-repeat -1000px -1000px;
background-size: 1.25em 1.25em;
text-indent: -10em;
padding: 3px 3px 3px 2px;
margin: -3px -2px;
}
.emoji_image .emoji:before {
content: '';
position: absolute;
pointer-events: none;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: inherit;
background-position: 2px 50%;
background-position-y: calc(50% + 1px);
}
.emoji_image .rtl i.emoji {
padding-left: 3px;
padding-right: 2px;
@ -1258,19 +1270,68 @@ input.pr-form-control:focus {
top: -8px;
max-height: 0;
opacity: 0;
transition: max-height .2s ease, opacity .2s ease;
transform: translateX(-36px);
transition: all .2s ease;
}
.pr-preview-ad-message-wrap.active {
transform: translateX(-36px);
max-height: 100%;
opacity: 1;
}
.pr-preview-ad-message-wrap.picture {
transform: translateX(0px);
}
.pr-preview-ad-message {
padding: 0 20px 12px;
display: flex;
}
.pr-preview-ad-message .ad-msg-photo-wrap {
align-self: flex-end;
margin: 0 8px 0 -8px;
transition: opacity .2s ease;
opacity: 0;
}
.pr-preview-ad-message-wrap.picture .ad-msg-photo-wrap {
opacity: 1;
}
.pr-preview-ad-message .ad-msg-photo,
.pr-preview-ad-message .ad-msg-photo img {
display: inline-block;
vertical-align: top;
width: 36px;
height: 36px;
border-radius: 18px;
}
.pr-preview-ad-message .ad-msg-photo {
position: relative;
font-style: normal;
text-align: center;
text-transform: uppercase;
text-decoration: none !important;
font-size: 16px;
line-height: 37px;
color: #999;
background: #efefef;
overflow: hidden;
}
.pr-preview-ad-message .ad-msg-photo:before {
content: attr(data-content);
font-weight: 500;
}
.pr-preview-ad-message .ad-msg-photo a {
text-decoration: none;
color: #999;
}
.pr-preview-ad-message .ad-msg-photo img {
position: absolute;
pointer-events: none;
left: 0;
top: 0;
}
.pr-preview-ad-message .ad-msg-bubble {
position: relative;
background: #fff;
width: 280px;
width: 254px;
max-width: 100%;
padding: 7px 10px;
border-radius: 10px 10px 10px 0;
@ -1485,7 +1546,7 @@ form > .form-group {
font-weight: 500;
color: #d75959;
}
.pr-form .form-group-no-label {
.pr-form .form-group.form-group-no-label {
padding-top: 0;
}
.pr-form .form-group-slim .radio-group {
@ -2558,6 +2619,14 @@ a.ad-declined:focus {
.pr-review-ad-info .pr-ad-info-value {
font-size: 15px;
}
.pr-review-ad-info-multi .pr-review-ad-info + .pr-review-ad-info {
margin-left: 12px;
}
.pr-review-ad-info-multi .pr-review-ad-info .pr-ad-info-value {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.pr-ad-info-value .included.a,
.pr-ad-info-value .excluded.a {
color: #0088cc;
@ -2589,6 +2658,9 @@ a.ad-declined:focus {
.pr-review-ad-info-multi > .pr-review-ad-info.large {
flex-basis: 66.66%;
}
.pr-review-ad-info-multi > .pr-review-ad-info.large.half {
max-width: 50%;
}
.pr-review-ad-status {
padding: 5px 0;
font-weight: 600;

View file

@ -23,7 +23,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -222,13 +222,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -22,7 +22,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -217,13 +217,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -455,11 +455,11 @@ var NewAd = {
return false;
}
var params = {
owner_id: Aj.state.ownerId,
text: text,
promote_url: promote_url
};
if (Aj.state.ownerId && Aj.state.adId) {
params.owner_id = Aj.state.ownerId;
if (Aj.state.adId) {
params.ad_id = Aj.state.adId;
}
$formGroup.addClass('field-loading');
@ -614,6 +614,8 @@ var NewAd = {
$('.js-preview-footer', $previewPopup).each(function() {
Ads.updateTextShadow(this, '.ad-msg-text', '.label', 10);
});
$('.js-picture-label', $previewPopup).html(previewData.picture_label);
$('.js-picture-hint', $previewPopup).html(previewData.picture_hint);
}
$('.js-promote-photo', $previewPopup).parents('.pr-form-control-wrap').toggleClass('has-photo', !!previewData);
$('.js-preview', $previewPopup).toggleClass('active', !!previewData);
@ -623,6 +625,8 @@ var NewAd = {
if (previewData) {
$('.js-promote-photo', Aj.state.$form).html(previewData.photo);
$('.js-promote-photo-tooltip', Aj.state.$form).html(previewData.from);
$('.js-picture-label', Aj.state.$form).html(previewData.picture_label);
$('.js-picture-hint', Aj.state.$form).html(previewData.picture_hint);
}
$('.js-promote-photo', Aj.state.$form).parents('.pr-form-control-wrap').toggleClass('has-photo', !!previewData);
$('.js-preview-link', Aj.state.$form).toggleClass('inactive', !previewData);
@ -653,6 +657,10 @@ var NewAd = {
var $form = state.$form;
var text = $form.field('text').value();
var promote_url = $form.field('promote_url').value();
var picture_checked = $form.field('picture').prop('checked');
var previewPictureChange = function() {
$('.js-preview', $previewPopup).toggleClass('picture', !!$(this).prop('checked'));
};
var $previewForm = $('.pr-new-form', $previewPopup);
Ads.formInit($previewForm);
@ -665,6 +673,10 @@ var NewAd = {
state.previewPromoteUrlField = $previewForm.field('promote_url');
state.previewPromoteUrlField.on('change.curPage', NewAd.onPromoteUrlChange);
state.previewPromoteUrlField.value(promote_url);
state.previewPictureCheckbox = $previewForm.field('picture');
state.previewPictureCheckbox.on('change.curPage', previewPictureChange);
state.previewPictureCheckbox.prop('checked', picture_checked);
$('.js-preview', $previewPopup).toggleClass('picture', !!picture_checked);
NewAd.updateAdPreview($previewForm, state.previewData);
NewAd.adPostCheck($previewForm);
@ -672,8 +684,10 @@ var NewAd = {
var previewSave = function() {
var text = state.previewTextField.value();
var promote_url = state.previewPromoteUrlField.value();
var picture_checked = state.previewPictureCheckbox.prop('checked');
$form.field('text').value(text).updateAutosize();
$form.field('promote_url').value(promote_url);
$form.field('picture').prop('checked', picture_checked);
NewAd.updateAdPreview($form, state.popupPreviewData);
NewAd.adPostCheck($form);
delete state.popupPreviewData;
@ -745,11 +759,18 @@ var NewAd = {
}
Ads.hideFieldError($field);
}
if (!len.langs && len.topics) {
if ((len.langs || len.topics) && len.channels) {
if (len.langs) {
Ads.showFieldError(Aj.state.$form.field('langs'), l('ADS_ERROR_LANG_AND_CHANNEL_NOT_ALLOWED'));
} else if (len.topics) {
Ads.showFieldError(Aj.state.$form.field('topics'), l('ADS_ERROR_TOPIC_AND_CHANNEL_NOT_ALLOWED'));
}
} else if (!len.langs && len.topics) {
Ads.showFieldError(Aj.state.$form.field('langs'), l('ADS_ERROR_LANGUAGE_REQUIRED'));
}
var overview = '';
if (!len.langs && !len.topics && !len.channels ||
(len.langs || len.topics) && len.channels ||
!len.langs && len.topics) {
overview += '<div class="pr-form-info-block minus">' + l('WEB_AD_TARGET_NOTHING') + '</div>';
} else {
@ -783,6 +804,9 @@ var NewAd = {
$form.field('cpm').value(),
$form.field('budget').value()
];
if ($form.field('picture').prop('checked')) {
values.push('picture');
}
for (var i = 0; i < Aj.state.selectList.length; i++) {
var selectData = Aj.state.selectList[i];
var vals = $form.field(selectData.field).data('value');
@ -802,6 +826,9 @@ var NewAd = {
$previewForm.field('text').value(),
$previewForm.field('promote_url').value()
];
if ($previewForm.field('picture').prop('checked')) {
values.push('picture');
}
return values.join('|');
}
return false;
@ -844,6 +871,9 @@ var NewAd = {
cpm: cpm,
budget: budget
};
if ($form.field('picture').prop('checked')) {
params.picture = 1;
}
for (var i = 0; i < Aj.state.selectList.length; i++) {
var selectData = Aj.state.selectList[i];
var values = $form.field(selectData.field).data('value');
@ -905,6 +935,9 @@ var NewAd = {
cpm: cpm,
budget: budget
};
if ($form.field('picture').prop('checked')) {
params.picture = 1;
}
for (var i = 0; i < Aj.state.selectList.length; i++) {
var selectData = Aj.state.selectList[i];
var values = $form.field(selectData.field).data('value');
@ -934,6 +967,7 @@ var NewAd = {
$form.field('promote_url').value('');
$form.field('cpm').value('');
$form.field('budget').value('');
$form.field('picture').prop('checked', false);
for (var i = 0; i < Aj.state.selectList.length; i++) {
var selectData = Aj.state.selectList[i];
var values = $form.field(selectData.field).trigger('reset');
@ -1918,6 +1952,9 @@ var EditAd = {
promote_url: promote_url,
cpm: cpm
};
if ($form.field('picture').prop('checked')) {
params.picture = 1;
}
$button.prop('disabled', true);
Aj.apiRequest('editAd', params, function(result) {
if (result.error) {

View file

@ -23,7 +23,7 @@
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?232" rel="stylesheet">
<link href="/css/widget-frame.css?62" rel="stylesheet">
<link href="/css/promote.css?59" rel="stylesheet">
<link href="/css/promote.css?60" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -154,13 +154,13 @@
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?62"></script>
<script src="/js/widget-frame.js?60"></script>
<script src="/js/promote.js?50"></script>
<script src="/js/promote.js?51"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?13"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":824,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":826,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();