Layer 193 (#5212)
This commit is contained in:
parent
c6e630d5e0
commit
75bc573292
@ -371,7 +371,7 @@ function buildApiMessageActionStarGift(action: GramJs.MessageActionStarGift) : A
|
|||||||
isConverted: Boolean(converted),
|
isConverted: Boolean(converted),
|
||||||
gift: buildApiStarGift(gift),
|
gift: buildApiStarGift(gift),
|
||||||
message: message && buildApiFormattedText(message),
|
message: message && buildApiFormattedText(message),
|
||||||
starsToConvert: convertStars.toJSNumber(),
|
starsToConvert: convertStars?.toJSNumber(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -512,6 +512,10 @@ export function buildApiStarsTransactionPeer(peer: GramJs.TypeStarsTransactionPe
|
|||||||
return { type: 'ads' };
|
return { type: 'ads' };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (peer instanceof GramJs.StarsTransactionPeerAPI) {
|
||||||
|
return { type: 'api' };
|
||||||
|
}
|
||||||
|
|
||||||
if (peer instanceof GramJs.StarsTransactionPeer) {
|
if (peer instanceof GramJs.StarsTransactionPeer) {
|
||||||
return { type: 'peer', id: getApiChatIdFromMtpPeer(peer.peer) };
|
return { type: 'peer', id: getApiChatIdFromMtpPeer(peer.peer) };
|
||||||
}
|
}
|
||||||
|
|||||||
@ -44,7 +44,6 @@ import {
|
|||||||
buildApiChatReactions,
|
buildApiChatReactions,
|
||||||
buildApiChatSettings,
|
buildApiChatSettings,
|
||||||
buildApiMissingInvitedUser,
|
buildApiMissingInvitedUser,
|
||||||
buildApiSponsoredMessageReportResult,
|
|
||||||
buildApiTopic,
|
buildApiTopic,
|
||||||
buildChatMember,
|
buildChatMember,
|
||||||
buildChatMembers,
|
buildChatMembers,
|
||||||
@ -69,7 +68,6 @@ import {
|
|||||||
} from '../gramjsBuilders';
|
} from '../gramjsBuilders';
|
||||||
import {
|
import {
|
||||||
addPhotoToLocalDb,
|
addPhotoToLocalDb,
|
||||||
deserializeBytes,
|
|
||||||
isChatFolder,
|
isChatFolder,
|
||||||
} from '../helpers';
|
} from '../helpers';
|
||||||
import { scheduleMutedChatUpdate } from '../scheduleUnmute';
|
import { scheduleMutedChatUpdate } from '../scheduleUnmute';
|
||||||
@ -1983,39 +1981,3 @@ export async function fetchChannelRecommendations({ chat }: { chat?: ApiChat })
|
|||||||
count: result instanceof GramJs.messages.ChatsSlice ? result.count : similarChannels.length,
|
count: result instanceof GramJs.messages.ChatsSlice ? result.count : similarChannels.length,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function reportSponsoredMessage({
|
|
||||||
chat,
|
|
||||||
randomId,
|
|
||||||
option,
|
|
||||||
}: {
|
|
||||||
chat: ApiChat;
|
|
||||||
randomId: string;
|
|
||||||
option: string;
|
|
||||||
}) {
|
|
||||||
const { id, accessHash } = chat;
|
|
||||||
const channel = buildInputEntity(id, accessHash);
|
|
||||||
|
|
||||||
try {
|
|
||||||
const result = await invokeRequest(new GramJs.channels.ReportSponsoredMessage({
|
|
||||||
channel: channel as GramJs.InputChannel,
|
|
||||||
randomId: deserializeBytes(randomId),
|
|
||||||
option: deserializeBytes(option),
|
|
||||||
}), {
|
|
||||||
shouldThrow: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!result) {
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
return buildApiSponsoredMessageReportResult(result);
|
|
||||||
} catch (err) {
|
|
||||||
if (err instanceof Error && err.message === 'PREMIUM_ACCOUNT_REQUIRED') {
|
|
||||||
return {
|
|
||||||
type: 'premiumRequired' as const,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import type { ThreadId } from '../../../types';
|
|||||||
import type {
|
import type {
|
||||||
ApiAttachment,
|
ApiAttachment,
|
||||||
ApiChat,
|
ApiChat,
|
||||||
ApiClickSponsoredMessage,
|
|
||||||
ApiContact,
|
ApiContact,
|
||||||
ApiError,
|
ApiError,
|
||||||
ApiFormattedText,
|
ApiFormattedText,
|
||||||
@ -51,6 +50,7 @@ import { interpolateArray } from '../../../util/waveform';
|
|||||||
import {
|
import {
|
||||||
buildApiChatFromPreview,
|
buildApiChatFromPreview,
|
||||||
buildApiSendAsPeerId,
|
buildApiSendAsPeerId,
|
||||||
|
buildApiSponsoredMessageReportResult,
|
||||||
} from '../apiBuilders/chats';
|
} from '../apiBuilders/chats';
|
||||||
import { buildApiFormattedText } from '../apiBuilders/common';
|
import { buildApiFormattedText } from '../apiBuilders/common';
|
||||||
import {
|
import {
|
||||||
@ -1704,40 +1704,83 @@ export function saveDefaultSendAs({
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function fetchSponsoredMessages({ chat }: { chat: ApiChat }) {
|
export async function fetchSponsoredMessages({ peer }: { peer: ApiPeer }) {
|
||||||
const result = await invokeRequest(new GramJs.channels.GetSponsoredMessages({
|
const result = await invokeRequest(new GramJs.messages.GetSponsoredMessages({
|
||||||
channel: buildInputPeer(chat.id, chat.accessHash),
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (!result || result instanceof GramJs.messages.SponsoredMessagesEmpty || !result.messages.length) {
|
if (!result || result instanceof GramJs.messages.SponsoredMessagesEmpty || !result.messages.length) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
const messages = result.messages.map((message) => buildApiSponsoredMessage(message, chat.id)).filter(Boolean);
|
const messages = result.messages
|
||||||
|
.map((message) => buildApiSponsoredMessage(message, peer.id))
|
||||||
|
.filter(Boolean);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
messages,
|
messages,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function viewSponsoredMessage({ chat, random }: { chat: ApiChat; random: string }) {
|
export async function viewSponsoredMessage({ peer, random }: { peer: ApiPeer; random: string }) {
|
||||||
await invokeRequest(new GramJs.channels.ViewSponsoredMessage({
|
await invokeRequest(new GramJs.messages.ViewSponsoredMessage({
|
||||||
channel: buildInputPeer(chat.id, chat.accessHash),
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
randomId: deserializeBytes(random),
|
randomId: deserializeBytes(random),
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
export function clickSponsoredMessage({
|
export function clickSponsoredMessage({
|
||||||
chat, random, isMedia, isFullscreen,
|
peer,
|
||||||
}: ApiClickSponsoredMessage) {
|
random,
|
||||||
return invokeRequest(new GramJs.channels.ClickSponsoredMessage({
|
isMedia,
|
||||||
|
isFullscreen,
|
||||||
|
}: {
|
||||||
|
peer: ApiPeer;
|
||||||
|
random: string;
|
||||||
|
isMedia?: boolean;
|
||||||
|
isFullscreen?: boolean;
|
||||||
|
}) {
|
||||||
|
return invokeRequest(new GramJs.messages.ClickSponsoredMessage({
|
||||||
media: isMedia || undefined,
|
media: isMedia || undefined,
|
||||||
fullscreen: isFullscreen || undefined,
|
fullscreen: isFullscreen || undefined,
|
||||||
channel: buildInputPeer(chat.id, chat.accessHash),
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
randomId: deserializeBytes(random),
|
randomId: deserializeBytes(random),
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function reportSponsoredMessage({
|
||||||
|
peer,
|
||||||
|
randomId,
|
||||||
|
option,
|
||||||
|
}: {
|
||||||
|
peer: ApiPeer;
|
||||||
|
randomId: string;
|
||||||
|
option: string;
|
||||||
|
}) {
|
||||||
|
try {
|
||||||
|
const result = await invokeRequest(new GramJs.messages.ReportSponsoredMessage({
|
||||||
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
|
randomId: deserializeBytes(randomId),
|
||||||
|
option: deserializeBytes(option),
|
||||||
|
}), {
|
||||||
|
shouldThrow: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
if (!result) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
return buildApiSponsoredMessageReportResult(result);
|
||||||
|
} catch (err) {
|
||||||
|
if (err instanceof Error && err.message === 'PREMIUM_ACCOUNT_REQUIRED') {
|
||||||
|
return {
|
||||||
|
type: 'premiumRequired' as const,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export async function readAllMentions({
|
export async function readAllMentions({
|
||||||
chat,
|
chat,
|
||||||
}: {
|
}: {
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import BigInt from 'big-integer';
|
|||||||
import { Api as GramJs } from '../../../lib/gramjs';
|
import { Api as GramJs } from '../../../lib/gramjs';
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
ApiChat, ApiMessagePublicForward, ApiPostStatistics, ApiStoryPublicForward, StatisticsGraph,
|
ApiChat, ApiMessagePublicForward, ApiPeer, ApiPostStatistics, ApiStoryPublicForward, StatisticsGraph,
|
||||||
} from '../../types';
|
} from '../../types';
|
||||||
|
|
||||||
import { STATISTICS_PUBLIC_FORWARDS_LIMIT } from '../../../config';
|
import { STATISTICS_PUBLIC_FORWARDS_LIMIT } from '../../../config';
|
||||||
@ -39,10 +39,13 @@ export async function fetchChannelStatistics({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function fetchChannelMonetizationStatistics({
|
export async function fetchChannelMonetizationStatistics({
|
||||||
chat, dcId,
|
peer, dcId,
|
||||||
}: { chat: ApiChat; dcId?: number }) {
|
}: {
|
||||||
|
peer: ApiPeer;
|
||||||
|
dcId?: number;
|
||||||
|
}) {
|
||||||
const result = await invokeRequest(new GramJs.stats.GetBroadcastRevenueStats({
|
const result = await invokeRequest(new GramJs.stats.GetBroadcastRevenueStats({
|
||||||
channel: buildInputEntity(chat.id, chat.accessHash) as GramJs.InputChannel,
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
}), {
|
}), {
|
||||||
dcId,
|
dcId,
|
||||||
});
|
});
|
||||||
@ -214,8 +217,11 @@ export async function fetchStoryPublicForwards({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function loadMonetizationRevenueWithdrawalUrl({
|
export async function loadMonetizationRevenueWithdrawalUrl({
|
||||||
chat, currentPassword,
|
peer, currentPassword,
|
||||||
}: { chat: ApiChat; currentPassword: string }) {
|
}: {
|
||||||
|
peer: ApiPeer;
|
||||||
|
currentPassword: string;
|
||||||
|
}) {
|
||||||
try {
|
try {
|
||||||
const password = await getPassword(currentPassword);
|
const password = await getPassword(currentPassword);
|
||||||
|
|
||||||
@ -224,7 +230,7 @@ export async function loadMonetizationRevenueWithdrawalUrl({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const result = await invokeRequest(new GramJs.stats.GetBroadcastRevenueWithdrawalUrl({
|
const result = await invokeRequest(new GramJs.stats.GetBroadcastRevenueWithdrawalUrl({
|
||||||
channel: buildInputEntity(chat.id, chat.accessHash) as GramJs.InputChannel,
|
peer: buildInputPeer(peer.id, peer.accessHash),
|
||||||
password,
|
password,
|
||||||
}), {
|
}), {
|
||||||
shouldThrow: true,
|
shouldThrow: true,
|
||||||
|
|||||||
@ -463,7 +463,7 @@ export interface ApiMessageActionStarGift {
|
|||||||
isConverted?: boolean;
|
isConverted?: boolean;
|
||||||
gift: ApiStarGift;
|
gift: ApiStarGift;
|
||||||
message?: ApiFormattedText;
|
message?: ApiFormattedText;
|
||||||
starsToConvert: number;
|
starsToConvert?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ApiAction {
|
export interface ApiAction {
|
||||||
@ -1070,13 +1070,6 @@ export type ApiSponsoredMessageReportResult = {
|
|||||||
}[];
|
}[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ApiClickSponsoredMessage = {
|
|
||||||
chat: ApiChat;
|
|
||||||
random: string;
|
|
||||||
isMedia?: boolean;
|
|
||||||
isFullscreen?: boolean;
|
|
||||||
};
|
|
||||||
|
|
||||||
export const MAIN_THREAD_ID = -1;
|
export const MAIN_THREAD_ID = -1;
|
||||||
|
|
||||||
// `Symbol` can not be transferred from worker
|
// `Symbol` can not be transferred from worker
|
||||||
|
|||||||
@ -326,6 +326,10 @@ export interface ApiStarsTransactionPeerAds {
|
|||||||
type: 'ads';
|
type: 'ads';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ApiStarsTransactionApi {
|
||||||
|
type: 'api';
|
||||||
|
}
|
||||||
|
|
||||||
export interface ApiStarsTransactionPeerPeer {
|
export interface ApiStarsTransactionPeerPeer {
|
||||||
type: 'peer';
|
type: 'peer';
|
||||||
id: string;
|
id: string;
|
||||||
@ -338,6 +342,7 @@ export type ApiStarsTransactionPeer =
|
|||||||
| ApiStarsTransactionPeerPremiumBot
|
| ApiStarsTransactionPeerPremiumBot
|
||||||
| ApiStarsTransactionPeerFragment
|
| ApiStarsTransactionPeerFragment
|
||||||
| ApiStarsTransactionPeerAds
|
| ApiStarsTransactionPeerAds
|
||||||
|
| ApiStarsTransactionApi
|
||||||
| ApiStarsTransactionPeerPeer;
|
| ApiStarsTransactionPeerPeer;
|
||||||
|
|
||||||
export interface ApiStarsTransaction {
|
export interface ApiStarsTransaction {
|
||||||
|
|||||||
@ -42,7 +42,7 @@ const VerificationMonetizationModal: FC<OwnProps> = ({
|
|||||||
|
|
||||||
const handleSubmit = useLastCallback((password: string) => {
|
const handleSubmit = useLastCallback((password: string) => {
|
||||||
loadMonetizationRevenueWithdrawalUrl({
|
loadMonetizationRevenueWithdrawalUrl({
|
||||||
chatId,
|
peerId: chatId,
|
||||||
currentPassword: password,
|
currentPassword: password,
|
||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
onClose();
|
onClose();
|
||||||
|
|||||||
@ -262,7 +262,7 @@ const MediaViewer = ({
|
|||||||
const handleSponsoredClick = useLastCallback((isFromMedia?: boolean) => {
|
const handleSponsoredClick = useLastCallback((isFromMedia?: boolean) => {
|
||||||
if (!sponsoredMessage || !chatId) return;
|
if (!sponsoredMessage || !chatId) return;
|
||||||
|
|
||||||
clickSponsoredMessage({ isMedia: isFromMedia, isFullscreen: true, chatId });
|
clickSponsoredMessage({ isMedia: isFromMedia, isFullscreen: true, peerId: chatId });
|
||||||
openUrl({ url: sponsoredMessage!.url });
|
openUrl({ url: sponsoredMessage!.url });
|
||||||
closeMediaViewer();
|
closeMediaViewer();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -436,14 +436,14 @@ const ActionMessage: FC<OwnProps & StateProps> = ({
|
|||||||
amount: formatInteger(amount!),
|
amount: formatInteger(amount!),
|
||||||
user: targetUser || 'User',
|
user: targetUser || 'User',
|
||||||
}, {
|
}, {
|
||||||
pluralValue: amount,
|
pluralValue: amount!,
|
||||||
withNodes: true,
|
withNodes: true,
|
||||||
withMarkdown: true,
|
withMarkdown: true,
|
||||||
})
|
})
|
||||||
: lang('GiftInfoDescriptionConverted', {
|
: lang('GiftInfoDescriptionConverted', {
|
||||||
amount: formatInteger(amount!),
|
amount: formatInteger(amount!),
|
||||||
}, {
|
}, {
|
||||||
pluralValue: amount,
|
pluralValue: amount!,
|
||||||
withNodes: true,
|
withNodes: true,
|
||||||
withMarkdown: true,
|
withMarkdown: true,
|
||||||
});
|
});
|
||||||
|
|||||||
@ -231,7 +231,7 @@ const MessageList: FC<OwnProps & StateProps> = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (areAdsEnabled && isChannelChat && isSynced && isReady) {
|
if (areAdsEnabled && isChannelChat && isSynced && isReady) {
|
||||||
loadSponsoredMessages({ chatId });
|
loadSponsoredMessages({ peerId: chatId });
|
||||||
}
|
}
|
||||||
}, [chatId, isSynced, isReady, isChannelChat, areAdsEnabled]);
|
}, [chatId, isSynced, isReady, isChannelChat, areAdsEnabled]);
|
||||||
|
|
||||||
|
|||||||
@ -106,7 +106,7 @@ const SponsoredMessage: FC<OwnProps & StateProps> = ({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
return shouldObserve ? observeIntersection(contentRef.current!, (target) => {
|
return shouldObserve ? observeIntersection(contentRef.current!, (target) => {
|
||||||
if (target.isIntersecting) {
|
if (target.isIntersecting) {
|
||||||
viewSponsoredMessage({ chatId });
|
viewSponsoredMessage({ peerId: chatId });
|
||||||
}
|
}
|
||||||
}) : undefined;
|
}) : undefined;
|
||||||
}, [chatId, shouldObserve, observeIntersection, viewSponsoredMessage]);
|
}, [chatId, shouldObserve, observeIntersection, viewSponsoredMessage]);
|
||||||
@ -117,7 +117,7 @@ const SponsoredMessage: FC<OwnProps & StateProps> = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleReportSponsoredMessage = useLastCallback(() => {
|
const handleReportSponsoredMessage = useLastCallback(() => {
|
||||||
reportSponsoredMessage({ chatId, randomId: message!.randomId });
|
reportSponsoredMessage({ peerId: chatId, randomId: message!.randomId });
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleHideSponsoredMessage = useLastCallback(() => {
|
const handleHideSponsoredMessage = useLastCallback(() => {
|
||||||
@ -134,12 +134,12 @@ const SponsoredMessage: FC<OwnProps & StateProps> = ({
|
|||||||
const handleClick = useLastCallback(() => {
|
const handleClick = useLastCallback(() => {
|
||||||
if (!message) return;
|
if (!message) return;
|
||||||
|
|
||||||
clickSponsoredMessage({ isMedia: photo || isGif ? true : undefined, chatId });
|
clickSponsoredMessage({ isMedia: photo || isGif ? true : undefined, peerId: chatId });
|
||||||
openUrl({ url: message!.url, shouldSkipModal: true });
|
openUrl({ url: message!.url, shouldSkipModal: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleOpenMedia = useLastCallback(() => {
|
const handleOpenMedia = useLastCallback(() => {
|
||||||
clickSponsoredMessage({ isMedia: true, chatId });
|
clickSponsoredMessage({ isMedia: true, peerId: chatId });
|
||||||
openMediaViewer({
|
openMediaViewer({
|
||||||
origin: MediaViewerOrigin.SponsoredMessage,
|
origin: MediaViewerOrigin.SponsoredMessage,
|
||||||
chatId,
|
chatId,
|
||||||
|
|||||||
@ -40,7 +40,7 @@ const ReportAdModal = ({
|
|||||||
|
|
||||||
const handleOptionClick = useLastCallback((e, option: string) => {
|
const handleOptionClick = useLastCallback((e, option: string) => {
|
||||||
const { chatId, randomId } = modal!;
|
const { chatId, randomId } = modal!;
|
||||||
reportSponsoredMessage({ chatId, randomId, option });
|
reportSponsoredMessage({ peerId: chatId, randomId, option });
|
||||||
});
|
});
|
||||||
|
|
||||||
const [renderingSection, renderingDepth] = useMemo(() => {
|
const [renderingSection, renderingDepth] = useMemo(() => {
|
||||||
|
|||||||
@ -247,6 +247,8 @@ function getStarsPeerTitleKey(peer: ApiStarsTransactionPeer) {
|
|||||||
return 'StarsTransactionBot';
|
return 'StarsTransactionBot';
|
||||||
case 'ads':
|
case 'ads':
|
||||||
return 'StarsTransactionAds';
|
return 'StarsTransactionAds';
|
||||||
|
case 'api':
|
||||||
|
return 'Stars.Intro.Transaction.TelegramBotApi.Subtitle';
|
||||||
default:
|
default:
|
||||||
return 'Stars.Transaction.Unsupported.Title';
|
return 'Stars.Transaction.Unsupported.Title';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -90,7 +90,7 @@ const MonetizationStatistics = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (chatId) {
|
if (chatId) {
|
||||||
loadChannelMonetizationStatistics({ chatId });
|
loadChannelMonetizationStatistics({ peerId: chatId });
|
||||||
loadPasswordInfo();
|
loadPasswordInfo();
|
||||||
}
|
}
|
||||||
}, [chatId, loadChannelMonetizationStatistics]);
|
}, [chatId, loadChannelMonetizationStatistics]);
|
||||||
|
|||||||
@ -1625,56 +1625,56 @@ addActionHandler('loadSendAs', async (global, actions, payload): Promise<void> =
|
|||||||
});
|
});
|
||||||
|
|
||||||
addActionHandler('loadSponsoredMessages', async (global, actions, payload): Promise<void> => {
|
addActionHandler('loadSponsoredMessages', async (global, actions, payload): Promise<void> => {
|
||||||
const { chatId } = payload;
|
const { peerId } = payload;
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
if (!chat) {
|
if (!peer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await callApi('fetchSponsoredMessages', { chat });
|
const result = await callApi('fetchSponsoredMessages', { peer });
|
||||||
if (!result) {
|
if (!result) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
global = getGlobal();
|
global = getGlobal();
|
||||||
global = updateSponsoredMessage(global, chatId, result.messages[0]);
|
global = updateSponsoredMessage(global, peerId, result.messages[0]);
|
||||||
setGlobal(global);
|
setGlobal(global);
|
||||||
});
|
});
|
||||||
|
|
||||||
addActionHandler('viewSponsoredMessage', (global, actions, payload): ActionReturnType => {
|
addActionHandler('viewSponsoredMessage', (global, actions, payload): ActionReturnType => {
|
||||||
const { chatId } = payload;
|
const { peerId } = payload;
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
const message = selectSponsoredMessage(global, chatId);
|
const message = selectSponsoredMessage(global, peerId);
|
||||||
if (!chat || !message) {
|
if (!peer || !message) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void callApi('viewSponsoredMessage', { chat, random: message.randomId });
|
void callApi('viewSponsoredMessage', { peer, random: message.randomId });
|
||||||
});
|
});
|
||||||
|
|
||||||
addActionHandler('clickSponsoredMessage', (global, actions, payload): ActionReturnType => {
|
addActionHandler('clickSponsoredMessage', (global, actions, payload): ActionReturnType => {
|
||||||
const { chatId, isMedia, isFullscreen } = payload;
|
const { peerId, isMedia, isFullscreen } = payload;
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
const message = selectSponsoredMessage(global, chatId);
|
const message = selectSponsoredMessage(global, peerId);
|
||||||
if (!chat || !message) {
|
if (!peer || !message) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void callApi('clickSponsoredMessage', {
|
void callApi('clickSponsoredMessage', {
|
||||||
chat, random: message.randomId, isMedia, isFullscreen,
|
peer, random: message.randomId, isMedia, isFullscreen,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
addActionHandler('reportSponsoredMessage', async (global, actions, payload): Promise<void> => {
|
addActionHandler('reportSponsoredMessage', async (global, actions, payload): Promise<void> => {
|
||||||
const {
|
const {
|
||||||
chatId, randomId, option = '', tabId = getCurrentTabId(),
|
peerId, randomId, option = '', tabId = getCurrentTabId(),
|
||||||
} = payload;
|
} = payload;
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
if (!chat) {
|
if (!peer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await callApi('reportSponsoredMessage', { chat, randomId, option });
|
const result = await callApi('reportSponsoredMessage', { peer, randomId, option });
|
||||||
|
|
||||||
if (!result) return;
|
if (!result) return;
|
||||||
|
|
||||||
@ -1692,7 +1692,7 @@ addActionHandler('reportSponsoredMessage', async (global, actions, payload): Pro
|
|||||||
actions.closeReportAdModal({ tabId });
|
actions.closeReportAdModal({ tabId });
|
||||||
|
|
||||||
global = getGlobal();
|
global = getGlobal();
|
||||||
global = deleteSponsoredMessage(global, chatId);
|
global = deleteSponsoredMessage(global, peerId);
|
||||||
setGlobal(global);
|
setGlobal(global);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1708,7 +1708,7 @@ addActionHandler('reportSponsoredMessage', async (global, actions, payload): Pro
|
|||||||
};
|
};
|
||||||
global = updateTabState(global, {
|
global = updateTabState(global, {
|
||||||
reportAdModal: {
|
reportAdModal: {
|
||||||
chatId,
|
chatId: peerId,
|
||||||
randomId,
|
randomId,
|
||||||
sections: oldSections ? [...oldSections, newSection] : [newSection],
|
sections: oldSections ? [...oldSections, newSection] : [newSection],
|
||||||
},
|
},
|
||||||
|
|||||||
@ -16,6 +16,7 @@ import {
|
|||||||
selectChat,
|
selectChat,
|
||||||
selectChatFullInfo,
|
selectChatFullInfo,
|
||||||
selectChatMessages,
|
selectChatMessages,
|
||||||
|
selectPeer,
|
||||||
selectPeerStory,
|
selectPeerStory,
|
||||||
selectTabState,
|
selectTabState,
|
||||||
} from '../../selectors';
|
} from '../../selectors';
|
||||||
@ -44,16 +45,16 @@ addActionHandler('loadStatistics', async (global, actions, payload): Promise<voi
|
|||||||
|
|
||||||
addActionHandler('loadChannelMonetizationStatistics', async (global, actions, payload): Promise<void> => {
|
addActionHandler('loadChannelMonetizationStatistics', async (global, actions, payload): Promise<void> => {
|
||||||
const {
|
const {
|
||||||
chatId, tabId = getCurrentTabId(),
|
peerId, tabId = getCurrentTabId(),
|
||||||
} = payload;
|
} = payload;
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
const fullInfo = selectChatFullInfo(global, chatId);
|
const chatFullInfo = selectChatFullInfo(global, peerId);
|
||||||
if (!chat || !fullInfo) {
|
if (!peer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const dcId = fullInfo.statisticsDcId;
|
const dcId = chatFullInfo?.statisticsDcId;
|
||||||
const stats = await callApi('fetchChannelMonetizationStatistics', { chat, dcId });
|
const stats = await callApi('fetchChannelMonetizationStatistics', { peer, dcId });
|
||||||
|
|
||||||
if (!stats) {
|
if (!stats) {
|
||||||
return;
|
return;
|
||||||
@ -230,18 +231,18 @@ addActionHandler('loadStoryPublicForwards', async (global, actions, payload): Pr
|
|||||||
|
|
||||||
addActionHandler('loadMonetizationRevenueWithdrawalUrl', async (global, actions, payload): Promise<void> => {
|
addActionHandler('loadMonetizationRevenueWithdrawalUrl', async (global, actions, payload): Promise<void> => {
|
||||||
const {
|
const {
|
||||||
chatId, currentPassword, onSuccess, tabId = getCurrentTabId(),
|
peerId, currentPassword, onSuccess, tabId = getCurrentTabId(),
|
||||||
} = payload;
|
} = payload;
|
||||||
|
|
||||||
global = updateMonetizationInfo(global, { isLoading: true, error: undefined });
|
global = updateMonetizationInfo(global, { isLoading: true, error: undefined });
|
||||||
setGlobal(global);
|
setGlobal(global);
|
||||||
|
|
||||||
const chat = selectChat(global, chatId);
|
const peer = selectPeer(global, peerId);
|
||||||
if (!chat) {
|
if (!peer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await callApi('loadMonetizationRevenueWithdrawalUrl', { chat, currentPassword });
|
const result = await callApi('loadMonetizationRevenueWithdrawalUrl', { peer, currentPassword });
|
||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -228,6 +228,16 @@ export function buildStarsTransactionCustomPeer(
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (peer.type === 'api') {
|
||||||
|
return {
|
||||||
|
avatarIcon: 'bots',
|
||||||
|
isCustomPeer: true,
|
||||||
|
titleKey: 'Stars.Intro.Transaction.TelegramBotApi.Title',
|
||||||
|
subtitleKey: 'Stars.Intro.Transaction.TelegramBotApi.Subtitle',
|
||||||
|
peerColorId: 4,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
avatarIcon: 'star',
|
avatarIcon: 'star',
|
||||||
isCustomPeer: true,
|
isCustomPeer: true,
|
||||||
|
|||||||
@ -1734,18 +1734,18 @@ export interface ActionPayloads {
|
|||||||
chatId: string;
|
chatId: string;
|
||||||
} & WithTabId;
|
} & WithTabId;
|
||||||
loadSponsoredMessages: {
|
loadSponsoredMessages: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
};
|
};
|
||||||
viewSponsoredMessage: {
|
viewSponsoredMessage: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
};
|
};
|
||||||
clickSponsoredMessage: {
|
clickSponsoredMessage: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
isMedia?: boolean;
|
isMedia?: boolean;
|
||||||
isFullscreen?: boolean;
|
isFullscreen?: boolean;
|
||||||
};
|
};
|
||||||
reportSponsoredMessage: {
|
reportSponsoredMessage: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
randomId: string;
|
randomId: string;
|
||||||
option?: string;
|
option?: string;
|
||||||
} & WithTabId;
|
} & WithTabId;
|
||||||
@ -1980,11 +1980,11 @@ export interface ActionPayloads {
|
|||||||
isPercentage?: boolean;
|
isPercentage?: boolean;
|
||||||
} & WithTabId;
|
} & WithTabId;
|
||||||
loadChannelMonetizationStatistics: {
|
loadChannelMonetizationStatistics: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
} & WithTabId;
|
} & WithTabId;
|
||||||
|
|
||||||
loadMonetizationRevenueWithdrawalUrl: {
|
loadMonetizationRevenueWithdrawalUrl: {
|
||||||
chatId: string;
|
peerId: string;
|
||||||
currentPassword: string;
|
currentPassword: string;
|
||||||
onSuccess: VoidFunction;
|
onSuccess: VoidFunction;
|
||||||
} & WithTabId;
|
} & WithTabId;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
const api = require('./api');
|
const api = require('./api');
|
||||||
|
|
||||||
const LAYER = 191;
|
const LAYER = 193;
|
||||||
const tlobjects = {};
|
const tlobjects = {};
|
||||||
|
|
||||||
for (const tl of Object.values(api)) {
|
for (const tl of Object.values(api)) {
|
||||||
|
|||||||
262
src/lib/gramjs/tl/api.d.ts
vendored
262
src/lib/gramjs/tl/api.d.ts
vendored
File diff suppressed because one or more lines are too long
@ -92,7 +92,7 @@ chatParticipants#3cbc93f8 chat_id:long participants:Vector<ChatParticipant> vers
|
|||||||
chatPhotoEmpty#37c1011c = ChatPhoto;
|
chatPhotoEmpty#37c1011c = ChatPhoto;
|
||||||
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
||||||
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
||||||
message#94345242 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true flags2:# offline:flags2.1?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck = Message;
|
message#94345242 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true flags2:# offline:flags2.1?true video_processing_pending:flags2.4?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck = Message;
|
||||||
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
||||||
messageMediaEmpty#3ded6320 = MessageMedia;
|
messageMediaEmpty#3ded6320 = MessageMedia;
|
||||||
messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia;
|
messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia;
|
||||||
@ -157,7 +157,7 @@ messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPe
|
|||||||
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
||||||
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
||||||
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
||||||
messageActionStarGift#9bb3ef44 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:long = MessageAction;
|
messageActionStarGift#8557637 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:flags.4?long = MessageAction;
|
||||||
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
||||||
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
||||||
photoEmpty#2331b22d id:long = Photo;
|
photoEmpty#2331b22d id:long = Photo;
|
||||||
@ -195,7 +195,7 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
|
|||||||
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
||||||
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
||||||
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
||||||
userFull#1f58e369 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull;
|
userFull#1f58e369 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull;
|
||||||
contact#145ade0b user_id:long mutual:Bool = Contact;
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
||||||
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
||||||
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
||||||
@ -300,7 +300,7 @@ updateFolderPeers#19360dc0 folder_peers:Vector<FolderPeer> pts:int pts_count:int
|
|||||||
updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;
|
updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;
|
||||||
updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated> = Update;
|
updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated> = Update;
|
||||||
updateNewScheduledMessage#39a51dfb message:Message = Update;
|
updateNewScheduledMessage#39a51dfb message:Message = Update;
|
||||||
updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector<int> = Update;
|
updateDeleteScheduledMessages#f2a71983 flags:# peer:Peer messages:Vector<int> sent_messages:flags.0?Vector<int> = Update;
|
||||||
updateTheme#8216fba3 theme:Theme = Update;
|
updateTheme#8216fba3 theme:Theme = Update;
|
||||||
updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;
|
updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;
|
||||||
updateLoginToken#564fe691 = Update;
|
updateLoginToken#564fe691 = Update;
|
||||||
@ -373,6 +373,7 @@ updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long conne
|
|||||||
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
|
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
|
||||||
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
|
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
|
||||||
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
|
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
|
||||||
|
updateBotSubscriptionExpire#2d13c6ee user_id:long payload:string invoice_slug:string until_date:int qts:int = Update;
|
||||||
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
||||||
updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
|
updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
|
||||||
updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
|
updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
|
||||||
@ -454,6 +455,7 @@ inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey;
|
|||||||
inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;
|
inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;
|
||||||
inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;
|
inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;
|
||||||
inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;
|
inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;
|
||||||
|
inputPrivacyKeyStarGiftsAutoSave#e1732341 = InputPrivacyKey;
|
||||||
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
||||||
privacyKeyChatInvite#500e6dfa = PrivacyKey;
|
privacyKeyChatInvite#500e6dfa = PrivacyKey;
|
||||||
privacyKeyPhoneCall#3d662b7b = PrivacyKey;
|
privacyKeyPhoneCall#3d662b7b = PrivacyKey;
|
||||||
@ -465,6 +467,7 @@ privacyKeyAddedByPhone#42ffd42b = PrivacyKey;
|
|||||||
privacyKeyVoiceMessages#697f414 = PrivacyKey;
|
privacyKeyVoiceMessages#697f414 = PrivacyKey;
|
||||||
privacyKeyAbout#a486b761 = PrivacyKey;
|
privacyKeyAbout#a486b761 = PrivacyKey;
|
||||||
privacyKeyBirthday#2000a518 = PrivacyKey;
|
privacyKeyBirthday#2000a518 = PrivacyKey;
|
||||||
|
privacyKeyStarGiftsAutoSave#2ca4fdf8 = PrivacyKey;
|
||||||
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
|
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
|
||||||
@ -475,6 +478,8 @@ inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivac
|
|||||||
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
||||||
|
inputPrivacyValueAllowBots#5a4fcce5 = InputPrivacyRule;
|
||||||
|
inputPrivacyValueDisallowBots#c4e57915 = InputPrivacyRule;
|
||||||
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
||||||
privacyValueAllowAll#65427b82 = PrivacyRule;
|
privacyValueAllowAll#65427b82 = PrivacyRule;
|
||||||
privacyValueAllowUsers#b8905fb2 users:Vector<long> = PrivacyRule;
|
privacyValueAllowUsers#b8905fb2 users:Vector<long> = PrivacyRule;
|
||||||
@ -485,6 +490,8 @@ privacyValueAllowChatParticipants#6b134e8e chats:Vector<long> = PrivacyRule;
|
|||||||
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
||||||
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
||||||
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
||||||
|
privacyValueAllowBots#21461b5d = PrivacyRule;
|
||||||
|
privacyValueDisallowBots#f6a5f82f = PrivacyRule;
|
||||||
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
||||||
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
|
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
|
||||||
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
|
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
|
||||||
@ -532,7 +539,7 @@ stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:fl
|
|||||||
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
|
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
|
||||||
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
||||||
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
||||||
botInfo#82437e74 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string = BotInfo;
|
botInfo#36607333 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings = BotInfo;
|
||||||
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
||||||
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
||||||
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;
|
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;
|
||||||
@ -739,7 +746,7 @@ phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;
|
|||||||
phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;
|
phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;
|
||||||
dataJSON#7d748d04 data:string = DataJSON;
|
dataJSON#7d748d04 data:string = DataJSON;
|
||||||
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
||||||
invoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string = Invoice;
|
invoice#49ee584 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string subscription_period:flags.11?int = Invoice;
|
||||||
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
||||||
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;
|
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;
|
||||||
paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;
|
paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;
|
||||||
@ -1092,7 +1099,7 @@ attachMenuBot#d90d8dfe flags:# inactive:flags.0?true has_settings:flags.1?true r
|
|||||||
attachMenuBotsNotModified#f1d88a5c = AttachMenuBots;
|
attachMenuBotsNotModified#f1d88a5c = AttachMenuBots;
|
||||||
attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User> = AttachMenuBots;
|
attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User> = AttachMenuBots;
|
||||||
attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
||||||
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true query_id:flags.0?long url:string = WebViewResult;
|
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true fullscreen:flags.2?true query_id:flags.0?long url:string = WebViewResult;
|
||||||
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
||||||
botMenuButtonDefault#7533a588 = BotMenuButton;
|
botMenuButtonDefault#7533a588 = BotMenuButton;
|
||||||
botMenuButtonCommands#4258c205 = BotMenuButton;
|
botMenuButtonCommands#4258c205 = BotMenuButton;
|
||||||
@ -1332,8 +1339,9 @@ starsTransactionPeerPremiumBot#250dbaf8 = StarsTransactionPeer;
|
|||||||
starsTransactionPeerFragment#e92fd902 = StarsTransactionPeer;
|
starsTransactionPeerFragment#e92fd902 = StarsTransactionPeer;
|
||||||
starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
||||||
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
||||||
|
starsTransactionPeerAPI#f9677aad = StarsTransactionPeer;
|
||||||
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
||||||
starsTransaction#a9ee4c2 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift = StarsTransaction;
|
starsTransaction#35d4f276 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int = StarsTransaction;
|
||||||
payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
||||||
foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory;
|
foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory;
|
||||||
stories.foundStories#e2de7737 flags:# count:int stories:Vector<FoundStory> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stories.FoundStories;
|
stories.foundStories#e2de7737 flags:# count:int stories:Vector<FoundStory> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stories.FoundStories;
|
||||||
@ -1348,11 +1356,11 @@ bots.popularAppBots#1991b13b flags:# next_offset:flags.0?string users:Vector<Use
|
|||||||
botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia;
|
botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia;
|
||||||
bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;
|
bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;
|
||||||
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;
|
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;
|
||||||
starsSubscription#538ecf18 flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string = StarsSubscription;
|
starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true bot_canceled:flags.7?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string title:flags.4?string photo:flags.5?WebDocument invoice_slug:flags.6?string = StarsSubscription;
|
||||||
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
||||||
starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;
|
starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;
|
||||||
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
||||||
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
||||||
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
||||||
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
||||||
userStarGift#eea49a6e flags:# name_hidden:flags.0?true unsaved:flags.5?true from_id:flags.1?long date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int convert_stars:flags.4?long = UserStarGift;
|
userStarGift#eea49a6e flags:# name_hidden:flags.0?true unsaved:flags.5?true from_id:flags.1?long date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int convert_stars:flags.4?long = UserStarGift;
|
||||||
@ -1361,6 +1369,9 @@ messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption;
|
|||||||
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
|
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
|
||||||
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
|
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
|
||||||
reportResultReported#8db33c4b = ReportResult;
|
reportResultReported#8db33c4b = ReportResult;
|
||||||
|
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
|
||||||
|
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
|
||||||
|
botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettings;
|
||||||
---functions---
|
---functions---
|
||||||
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
||||||
initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;
|
initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;
|
||||||
@ -1446,9 +1457,9 @@ messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?t
|
|||||||
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
||||||
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
||||||
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
||||||
messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
|
messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
|
||||||
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
||||||
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
||||||
messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
|
messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
|
||||||
@ -1497,7 +1508,7 @@ messages.getFavedStickers#4f1aaa9 hash:long = messages.FavedStickers;
|
|||||||
messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
|
messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
|
||||||
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
||||||
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
||||||
messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
||||||
messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;
|
messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;
|
||||||
messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = Updates;
|
messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = Updates;
|
||||||
@ -1544,9 +1555,9 @@ messages.readReactions#54aa7f8e flags:# peer:InputPeer top_msg_id:flags.0?int =
|
|||||||
messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
||||||
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
||||||
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
|
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
|
||||||
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
||||||
messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
|
messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
|
||||||
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true fullscreen:flags.8?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
||||||
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
||||||
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
||||||
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
|
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
|
||||||
@ -1559,7 +1570,7 @@ messages.clearRecentReactions#9dfeefb4 = Bool;
|
|||||||
messages.getExtendedMedia#84f80814 peer:InputPeer id:Vector<int> = Updates;
|
messages.getExtendedMedia#84f80814 peer:InputPeer id:Vector<int> = Updates;
|
||||||
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
|
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
|
||||||
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
|
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
|
||||||
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
||||||
messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
|
messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
|
||||||
messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
|
messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
|
||||||
messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
|
messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
|
||||||
@ -1574,9 +1585,13 @@ messages.getQuickReplyMessages#94a495c3 flags:# shortcut_id:int id:flags.0?Vecto
|
|||||||
messages.sendQuickReplyMessages#6c750de1 peer:InputPeer shortcut_id:int id:Vector<int> random_id:Vector<long> = Updates;
|
messages.sendQuickReplyMessages#6c750de1 peer:InputPeer shortcut_id:int id:Vector<int> random_id:Vector<long> = Updates;
|
||||||
messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects;
|
messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects;
|
||||||
messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>;
|
messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>;
|
||||||
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
||||||
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
|
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
|
||||||
messages.getPaidReactionPrivacy#472455aa = Updates;
|
messages.getPaidReactionPrivacy#472455aa = Updates;
|
||||||
|
messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool;
|
||||||
|
messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool;
|
||||||
|
messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
||||||
|
messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages;
|
||||||
updates.getState#edd4882a = updates.State;
|
updates.getState#edd4882a = updates.State;
|
||||||
updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
|
updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
|
||||||
updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
|
updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
|
||||||
@ -1623,8 +1638,6 @@ channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool
|
|||||||
channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
|
channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.getGroupsForDiscussion#f5dad378 = messages.Chats;
|
channels.getGroupsForDiscussion#f5dad378 = messages.Chats;
|
||||||
channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool;
|
channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool;
|
||||||
channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;
|
|
||||||
channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;
|
|
||||||
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
|
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
|
||||||
channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.toggleJoinRequest#4c2985b6 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleJoinRequest#4c2985b6 channel:InputChannel enabled:Bool = Updates;
|
||||||
@ -1639,10 +1652,8 @@ channels.editForumTopic#f4dfa185 flags:# channel:InputChannel topic_id:int title
|
|||||||
channels.updatePinnedForumTopic#6c2d9026 channel:InputChannel topic_id:int pinned:Bool = Updates;
|
channels.updatePinnedForumTopic#6c2d9026 channel:InputChannel topic_id:int pinned:Bool = Updates;
|
||||||
channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;
|
channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;
|
||||||
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool;
|
|
||||||
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;
|
channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;
|
||||||
channels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
|
||||||
channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
||||||
bots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool;
|
bots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool;
|
||||||
bots.canSendMessage#1359f4e6 bot:InputUser = Bool;
|
bots.canSendMessage#1359f4e6 bot:InputUser = Bool;
|
||||||
@ -1707,8 +1718,8 @@ stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:s
|
|||||||
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
|
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
|
||||||
stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;
|
stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;
|
||||||
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;
|
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;
|
||||||
stats.getBroadcastRevenueStats#75dfb671 flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastRevenueStats;
|
stats.getBroadcastRevenueStats#f788ee19 flags:# dark:flags.0?true peer:InputPeer = stats.BroadcastRevenueStats;
|
||||||
stats.getBroadcastRevenueWithdrawalUrl#2a65ef73 channel:InputChannel password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;
|
stats.getBroadcastRevenueWithdrawalUrl#9df4faad peer:InputPeer password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;
|
||||||
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
|
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
|
||||||
chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;
|
chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;
|
||||||
chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;
|
chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;
|
||||||
|
|||||||
@ -177,6 +177,46 @@
|
|||||||
"messages.getFactCheck",
|
"messages.getFactCheck",
|
||||||
"messages.requestMainWebView",
|
"messages.requestMainWebView",
|
||||||
"messages.getPaidReactionPrivacy",
|
"messages.getPaidReactionPrivacy",
|
||||||
|
"messages.sendReaction",
|
||||||
|
"messages.getMessagesReactions",
|
||||||
|
"messages.getMessageReactionsList",
|
||||||
|
"messages.setChatAvailableReactions",
|
||||||
|
"messages.getAvailableReactions",
|
||||||
|
"messages.getAvailableEffects",
|
||||||
|
"messages.setDefaultReaction",
|
||||||
|
"messages.translateText",
|
||||||
|
"messages.getAttachMenuBots",
|
||||||
|
"messages.getAttachMenuBot",
|
||||||
|
"messages.toggleBotInAttachMenu",
|
||||||
|
"messages.requestWebView",
|
||||||
|
"messages.prolongWebView",
|
||||||
|
"messages.requestSimpleWebView",
|
||||||
|
"messages.sendWebViewResultMessage",
|
||||||
|
"messages.sendWebViewData",
|
||||||
|
"messages.transcribeAudio",
|
||||||
|
"messages.getCustomEmojiDocuments",
|
||||||
|
"messages.getEmojiStickers",
|
||||||
|
"messages.getFeaturedEmojiStickers",
|
||||||
|
"messages.readReactions",
|
||||||
|
"messages.getUnreadReactions",
|
||||||
|
"messages.getTopReactions",
|
||||||
|
"messages.getRecentReactions",
|
||||||
|
"messages.clearRecentReactions",
|
||||||
|
"messages.readMentions",
|
||||||
|
"messages.getUnreadMentions",
|
||||||
|
"messages.getSavedDialogs",
|
||||||
|
"messages.getSavedHistory",
|
||||||
|
"messages.deleteSavedHistory",
|
||||||
|
"messages.getPinnedSavedDialogs",
|
||||||
|
"messages.toggleSavedDialogPin",
|
||||||
|
"messages.getSavedReactionTags",
|
||||||
|
"messages.updateSavedReactionTag",
|
||||||
|
"messages.getDefaultTagReactions",
|
||||||
|
"messages.sendPaidReaction",
|
||||||
|
"messages.viewSponsoredMessage",
|
||||||
|
"messages.clickSponsoredMessage",
|
||||||
|
"messages.reportSponsoredMessage",
|
||||||
|
"messages.getSponsoredMessages",
|
||||||
"updates.getState",
|
"updates.getState",
|
||||||
"updates.getDifference",
|
"updates.getDifference",
|
||||||
"updates.getChannelDifference",
|
"updates.getChannelDifference",
|
||||||
@ -193,6 +233,10 @@
|
|||||||
"help.getSupport",
|
"help.getSupport",
|
||||||
"help.acceptTermsOfService",
|
"help.acceptTermsOfService",
|
||||||
"help.getCountriesList",
|
"help.getCountriesList",
|
||||||
|
"help.getAppConfig",
|
||||||
|
"help.getPeerColors",
|
||||||
|
"help.getTimezonesList",
|
||||||
|
"help.getPremiumPromo",
|
||||||
"channels.readHistory",
|
"channels.readHistory",
|
||||||
"channels.deleteMessages",
|
"channels.deleteMessages",
|
||||||
"channels.getMessages",
|
"channels.getMessages",
|
||||||
@ -223,10 +267,7 @@
|
|||||||
"channels.toggleJoinRequest",
|
"channels.toggleJoinRequest",
|
||||||
"channels.reorderUsernames",
|
"channels.reorderUsernames",
|
||||||
"channels.toggleUsername",
|
"channels.toggleUsername",
|
||||||
"channels.viewSponsoredMessage",
|
|
||||||
"channels.getSponsoredMessages",
|
|
||||||
"channels.getChannelRecommendations",
|
"channels.getChannelRecommendations",
|
||||||
"channels.reportSponsoredMessage",
|
|
||||||
"channels.searchPosts",
|
"channels.searchPosts",
|
||||||
"channels.reportSpam",
|
"channels.reportSpam",
|
||||||
"bots.canSendMessage",
|
"bots.canSendMessage",
|
||||||
@ -265,17 +306,6 @@
|
|||||||
"phone.setCallRating",
|
"phone.setCallRating",
|
||||||
"phone.saveCallDebug",
|
"phone.saveCallDebug",
|
||||||
"phone.sendSignalingData",
|
"phone.sendSignalingData",
|
||||||
"messages.sendReaction",
|
|
||||||
"messages.getMessagesReactions",
|
|
||||||
"messages.getMessageReactionsList",
|
|
||||||
"messages.setChatAvailableReactions",
|
|
||||||
"messages.getAvailableReactions",
|
|
||||||
"messages.getAvailableEffects",
|
|
||||||
"messages.setDefaultReaction",
|
|
||||||
"messages.translateText",
|
|
||||||
"help.getAppConfig",
|
|
||||||
"help.getPeerColors",
|
|
||||||
"help.getTimezonesList",
|
|
||||||
"stats.getBroadcastStats",
|
"stats.getBroadcastStats",
|
||||||
"stats.getBroadcastRevenueStats",
|
"stats.getBroadcastRevenueStats",
|
||||||
"stats.getMegagroupStats",
|
"stats.getMegagroupStats",
|
||||||
@ -285,35 +315,6 @@
|
|||||||
"stats.getStoryPublicForwards",
|
"stats.getStoryPublicForwards",
|
||||||
"stats.loadAsyncGraph",
|
"stats.loadAsyncGraph",
|
||||||
"stats.getBroadcastRevenueWithdrawalUrl",
|
"stats.getBroadcastRevenueWithdrawalUrl",
|
||||||
"messages.getAttachMenuBots",
|
|
||||||
"messages.getAttachMenuBot",
|
|
||||||
"messages.toggleBotInAttachMenu",
|
|
||||||
"messages.requestWebView",
|
|
||||||
"messages.prolongWebView",
|
|
||||||
"messages.requestSimpleWebView",
|
|
||||||
"messages.sendWebViewResultMessage",
|
|
||||||
"messages.sendWebViewData",
|
|
||||||
"messages.transcribeAudio",
|
|
||||||
"messages.getCustomEmojiDocuments",
|
|
||||||
"messages.getEmojiStickers",
|
|
||||||
"messages.getFeaturedEmojiStickers",
|
|
||||||
"messages.readReactions",
|
|
||||||
"messages.getUnreadReactions",
|
|
||||||
"messages.getTopReactions",
|
|
||||||
"messages.getRecentReactions",
|
|
||||||
"messages.clearRecentReactions",
|
|
||||||
"messages.readMentions",
|
|
||||||
"messages.getUnreadMentions",
|
|
||||||
"messages.getSavedDialogs",
|
|
||||||
"messages.getSavedHistory",
|
|
||||||
"messages.deleteSavedHistory",
|
|
||||||
"messages.getPinnedSavedDialogs",
|
|
||||||
"messages.toggleSavedDialogPin",
|
|
||||||
"messages.getSavedReactionTags",
|
|
||||||
"messages.updateSavedReactionTag",
|
|
||||||
"messages.getDefaultTagReactions",
|
|
||||||
"messages.sendPaidReaction",
|
|
||||||
"help.getPremiumPromo",
|
|
||||||
"channels.deactivateAllUsernames",
|
"channels.deactivateAllUsernames",
|
||||||
"channels.toggleForum",
|
"channels.toggleForum",
|
||||||
"channels.createForumTopic",
|
"channels.createForumTopic",
|
||||||
@ -323,7 +324,6 @@
|
|||||||
"channels.updatePinnedForumTopic",
|
"channels.updatePinnedForumTopic",
|
||||||
"channels.deleteTopicHistory",
|
"channels.deleteTopicHistory",
|
||||||
"channels.toggleParticipantsHidden",
|
"channels.toggleParticipantsHidden",
|
||||||
"channels.clickSponsoredMessage",
|
|
||||||
"channels.toggleViewForumAsMessages",
|
"channels.toggleViewForumAsMessages",
|
||||||
"photos.uploadContactProfilePhoto",
|
"photos.uploadContactProfilePhoto",
|
||||||
"messages.getMessagesViews",
|
"messages.getMessagesViews",
|
||||||
|
|||||||
@ -116,7 +116,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto;
|
|||||||
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
||||||
|
|
||||||
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
||||||
message#94345242 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true flags2:# offline:flags2.1?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck = Message;
|
message#94345242 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true flags2:# offline:flags2.1?true video_processing_pending:flags2.4?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck = Message;
|
||||||
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
||||||
|
|
||||||
messageMediaEmpty#3ded6320 = MessageMedia;
|
messageMediaEmpty#3ded6320 = MessageMedia;
|
||||||
@ -183,7 +183,7 @@ messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPe
|
|||||||
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
||||||
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
||||||
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
||||||
messageActionStarGift#9bb3ef44 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:long = MessageAction;
|
messageActionStarGift#8557637 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:flags.4?long = MessageAction;
|
||||||
|
|
||||||
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
||||||
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
||||||
@ -235,7 +235,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|||||||
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
||||||
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
||||||
|
|
||||||
userFull#1f58e369 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull;
|
userFull#1f58e369 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull;
|
||||||
|
|
||||||
contact#145ade0b user_id:long mutual:Bool = Contact;
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
||||||
|
|
||||||
@ -353,7 +353,7 @@ updateFolderPeers#19360dc0 folder_peers:Vector<FolderPeer> pts:int pts_count:int
|
|||||||
updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;
|
updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;
|
||||||
updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated> = Update;
|
updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated> = Update;
|
||||||
updateNewScheduledMessage#39a51dfb message:Message = Update;
|
updateNewScheduledMessage#39a51dfb message:Message = Update;
|
||||||
updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector<int> = Update;
|
updateDeleteScheduledMessages#f2a71983 flags:# peer:Peer messages:Vector<int> sent_messages:flags.0?Vector<int> = Update;
|
||||||
updateTheme#8216fba3 theme:Theme = Update;
|
updateTheme#8216fba3 theme:Theme = Update;
|
||||||
updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;
|
updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;
|
||||||
updateLoginToken#564fe691 = Update;
|
updateLoginToken#564fe691 = Update;
|
||||||
@ -426,6 +426,7 @@ updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long conne
|
|||||||
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
|
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
|
||||||
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
|
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
|
||||||
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
|
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
|
||||||
|
updateBotSubscriptionExpire#2d13c6ee user_id:long payload:string invoice_slug:string until_date:int qts:int = Update;
|
||||||
|
|
||||||
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
||||||
|
|
||||||
@ -532,6 +533,7 @@ inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey;
|
|||||||
inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;
|
inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;
|
||||||
inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;
|
inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;
|
||||||
inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;
|
inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;
|
||||||
|
inputPrivacyKeyStarGiftsAutoSave#e1732341 = InputPrivacyKey;
|
||||||
|
|
||||||
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
||||||
privacyKeyChatInvite#500e6dfa = PrivacyKey;
|
privacyKeyChatInvite#500e6dfa = PrivacyKey;
|
||||||
@ -544,6 +546,7 @@ privacyKeyAddedByPhone#42ffd42b = PrivacyKey;
|
|||||||
privacyKeyVoiceMessages#697f414 = PrivacyKey;
|
privacyKeyVoiceMessages#697f414 = PrivacyKey;
|
||||||
privacyKeyAbout#a486b761 = PrivacyKey;
|
privacyKeyAbout#a486b761 = PrivacyKey;
|
||||||
privacyKeyBirthday#2000a518 = PrivacyKey;
|
privacyKeyBirthday#2000a518 = PrivacyKey;
|
||||||
|
privacyKeyStarGiftsAutoSave#2ca4fdf8 = PrivacyKey;
|
||||||
|
|
||||||
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
||||||
@ -555,6 +558,8 @@ inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivac
|
|||||||
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
||||||
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
||||||
|
inputPrivacyValueAllowBots#5a4fcce5 = InputPrivacyRule;
|
||||||
|
inputPrivacyValueDisallowBots#c4e57915 = InputPrivacyRule;
|
||||||
|
|
||||||
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
||||||
privacyValueAllowAll#65427b82 = PrivacyRule;
|
privacyValueAllowAll#65427b82 = PrivacyRule;
|
||||||
@ -566,6 +571,8 @@ privacyValueAllowChatParticipants#6b134e8e chats:Vector<long> = PrivacyRule;
|
|||||||
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
||||||
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
||||||
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
||||||
|
privacyValueAllowBots#21461b5d = PrivacyRule;
|
||||||
|
privacyValueDisallowBots#f6a5f82f = PrivacyRule;
|
||||||
|
|
||||||
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
||||||
|
|
||||||
@ -635,7 +642,7 @@ messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
|||||||
|
|
||||||
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
||||||
|
|
||||||
botInfo#82437e74 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string = BotInfo;
|
botInfo#36607333 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings = BotInfo;
|
||||||
|
|
||||||
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
||||||
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
||||||
@ -893,7 +900,7 @@ dataJSON#7d748d04 data:string = DataJSON;
|
|||||||
|
|
||||||
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
||||||
|
|
||||||
invoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string = Invoice;
|
invoice#49ee584 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string subscription_period:flags.11?int = Invoice;
|
||||||
|
|
||||||
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
||||||
|
|
||||||
@ -1436,7 +1443,7 @@ attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User>
|
|||||||
|
|
||||||
attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
||||||
|
|
||||||
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true query_id:flags.0?long url:string = WebViewResult;
|
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true fullscreen:flags.2?true query_id:flags.0?long url:string = WebViewResult;
|
||||||
|
|
||||||
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
||||||
|
|
||||||
@ -1821,10 +1828,11 @@ starsTransactionPeerPremiumBot#250dbaf8 = StarsTransactionPeer;
|
|||||||
starsTransactionPeerFragment#e92fd902 = StarsTransactionPeer;
|
starsTransactionPeerFragment#e92fd902 = StarsTransactionPeer;
|
||||||
starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
||||||
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
||||||
|
starsTransactionPeerAPI#f9677aad = StarsTransactionPeer;
|
||||||
|
|
||||||
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
||||||
|
|
||||||
starsTransaction#a9ee4c2 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift = StarsTransaction;
|
starsTransaction#35d4f276 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int = StarsTransaction;
|
||||||
|
|
||||||
payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
||||||
|
|
||||||
@ -1854,7 +1862,7 @@ bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string>
|
|||||||
|
|
||||||
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;
|
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;
|
||||||
|
|
||||||
starsSubscription#538ecf18 flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string = StarsSubscription;
|
starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true bot_canceled:flags.7?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string title:flags.4?string photo:flags.5?WebDocument invoice_slug:flags.6?string = StarsSubscription;
|
||||||
|
|
||||||
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
||||||
|
|
||||||
@ -1862,7 +1870,7 @@ starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true
|
|||||||
|
|
||||||
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
||||||
|
|
||||||
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
||||||
|
|
||||||
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
||||||
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
||||||
@ -1877,6 +1885,12 @@ reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOptio
|
|||||||
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
|
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
|
||||||
reportResultReported#8db33c4b = ReportResult;
|
reportResultReported#8db33c4b = ReportResult;
|
||||||
|
|
||||||
|
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
|
||||||
|
|
||||||
|
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
|
||||||
|
|
||||||
|
botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettings;
|
||||||
|
|
||||||
---functions---
|
---functions---
|
||||||
|
|
||||||
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
||||||
@ -2068,9 +2082,9 @@ messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?t
|
|||||||
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
||||||
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
||||||
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
||||||
messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
|
messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
|
||||||
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
||||||
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
||||||
messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
|
messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
|
||||||
@ -2148,7 +2162,7 @@ messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
|
|||||||
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
||||||
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
||||||
messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages;
|
messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages;
|
||||||
messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
|
||||||
messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
|
messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
|
||||||
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
||||||
messages.getSplitRanges#1cff7e08 = Vector<MessageRange>;
|
messages.getSplitRanges#1cff7e08 = Vector<MessageRange>;
|
||||||
@ -2220,9 +2234,9 @@ messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = mes
|
|||||||
messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
||||||
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
||||||
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
|
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
|
||||||
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
||||||
messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
|
messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
|
||||||
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true fullscreen:flags.8?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
||||||
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
||||||
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
||||||
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
|
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
|
||||||
@ -2244,7 +2258,7 @@ messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups;
|
|||||||
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;
|
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;
|
||||||
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
|
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
|
||||||
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
|
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
|
||||||
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
||||||
messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;
|
messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;
|
||||||
messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
||||||
messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
|
messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
|
||||||
@ -2272,10 +2286,16 @@ messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects;
|
|||||||
messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates;
|
messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates;
|
||||||
messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates;
|
messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates;
|
||||||
messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>;
|
messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>;
|
||||||
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
||||||
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
|
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
|
||||||
messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool;
|
messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool;
|
||||||
messages.getPaidReactionPrivacy#472455aa = Updates;
|
messages.getPaidReactionPrivacy#472455aa = Updates;
|
||||||
|
messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool;
|
||||||
|
messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool;
|
||||||
|
messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
||||||
|
messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages;
|
||||||
|
messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0?Vector<InlineQueryPeerType> = messages.BotPreparedInlineMessage;
|
||||||
|
messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
|
||||||
|
|
||||||
updates.getState#edd4882a = updates.State;
|
updates.getState#edd4882a = updates.State;
|
||||||
updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
|
updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
|
||||||
@ -2357,8 +2377,6 @@ channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint addr
|
|||||||
channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;
|
channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;
|
||||||
channels.getInactiveChannels#11e831ee = messages.InactiveChats;
|
channels.getInactiveChannels#11e831ee = messages.InactiveChats;
|
||||||
channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
|
channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
|
||||||
channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;
|
|
||||||
channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;
|
|
||||||
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
|
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
|
||||||
channels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory;
|
channels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory;
|
||||||
channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;
|
||||||
@ -2377,14 +2395,12 @@ channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:In
|
|||||||
channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;
|
channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
|
channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
|
||||||
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool;
|
|
||||||
channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;
|
channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;
|
||||||
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;
|
channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;
|
||||||
channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates;
|
channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates;
|
||||||
channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates;
|
channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates;
|
||||||
channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool;
|
channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool;
|
||||||
channels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
|
||||||
channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates;
|
channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates;
|
||||||
channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
||||||
|
|
||||||
@ -2411,6 +2427,9 @@ bots.deletePreviewMedia#2d0135b3 bot:InputUser lang_code:string media:Vector<Inp
|
|||||||
bots.reorderPreviewMedias#b627f3aa bot:InputUser lang_code:string order:Vector<InputMedia> = Bool;
|
bots.reorderPreviewMedias#b627f3aa bot:InputUser lang_code:string order:Vector<InputMedia> = Bool;
|
||||||
bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo;
|
bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo;
|
||||||
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;
|
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;
|
||||||
|
bots.updateUserEmojiStatus#ed9f30c5 user_id:InputUser emoji_status:EmojiStatus = Bool;
|
||||||
|
bots.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;
|
||||||
|
bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;
|
||||||
|
|
||||||
payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
|
payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
|
||||||
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
|
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
|
||||||
@ -2446,6 +2465,7 @@ payments.getStarGifts#c4563590 hash:int = payments.StarGifts;
|
|||||||
payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments.UserStarGifts;
|
payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments.UserStarGifts;
|
||||||
payments.saveStarGift#87acf08e flags:# unsave:flags.0?true user_id:InputUser msg_id:int = Bool;
|
payments.saveStarGift#87acf08e flags:# unsave:flags.0?true user_id:InputUser msg_id:int = Bool;
|
||||||
payments.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool;
|
payments.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool;
|
||||||
|
payments.botCancelStarsSubscription#57f9ece6 flags:# restore:flags.0?true user_id:InputUser invoice_slug:flags.1?string charge_id:flags.2?string = Bool;
|
||||||
|
|
||||||
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
||||||
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
||||||
@ -2506,9 +2526,9 @@ stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:s
|
|||||||
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
|
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
|
||||||
stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;
|
stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;
|
||||||
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;
|
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;
|
||||||
stats.getBroadcastRevenueStats#75dfb671 flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastRevenueStats;
|
stats.getBroadcastRevenueStats#f788ee19 flags:# dark:flags.0?true peer:InputPeer = stats.BroadcastRevenueStats;
|
||||||
stats.getBroadcastRevenueWithdrawalUrl#2a65ef73 channel:InputChannel password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;
|
stats.getBroadcastRevenueWithdrawalUrl#9df4faad peer:InputPeer password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;
|
||||||
stats.getBroadcastRevenueTransactions#69280f channel:InputChannel offset:int limit:int = stats.BroadcastRevenueTransactions;
|
stats.getBroadcastRevenueTransactions#70990b6d peer:InputPeer offset:int limit:int = stats.BroadcastRevenueTransactions;
|
||||||
|
|
||||||
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
|
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
|
||||||
chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;
|
chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;
|
||||||
@ -2547,7 +2567,7 @@ stories.getChatsToSend#a56a8b60 = messages.Chats;
|
|||||||
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;
|
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;
|
||||||
stories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList;
|
stories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList;
|
||||||
stories.togglePinnedToTop#b297e9b peer:InputPeer id:Vector<int> = Bool;
|
stories.togglePinnedToTop#b297e9b peer:InputPeer id:Vector<int> = Bool;
|
||||||
stories.searchPosts#6cea116a flags:# hashtag:flags.0?string area:flags.1?MediaArea offset:string limit:int = stories.FoundStories;
|
stories.searchPosts#d1810907 flags:# hashtag:flags.0?string area:flags.1?MediaArea peer:flags.2?InputPeer offset:string limit:int = stories.FoundStories;
|
||||||
|
|
||||||
premium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList;
|
premium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList;
|
||||||
premium.getMyBoosts#be77b4a = premium.MyBoosts;
|
premium.getMyBoosts#be77b4a = premium.MyBoosts;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user