accountConnectedBots#b1b41517 connected_bots:Vector<ConnectedBot> users:Vector<User> = AccountConnectedBots;
connectedBot#2e8defb1 flags:# bot_id:long can_reply:flags.0?true recipients:BusinessRecipients = ConnectedBot;
businessRecipients#8d8d82d7 flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector<long> = BusinessRecipients;
accountUpdateBusinessAwayMessage#9a97e1f3 flags:# message:flags.0?InputBusinessAwayMessage = AccountUpdateBusinessAwayMessage;
inputBusinessAwayMessage#19f7e578 flags:# text:string = InputBusinessAwayMessage;
businessAwayMessageScheduleEmpty#e6c49073 = BusinessAwayMessageSchedule;
businessAwayMessageScheduleAlways#76e28c1f = BusinessAwayMessageSchedule;
businessAwayMessageScheduleOutsideWorkHours#a3b54985 = BusinessAwayMessageSchedule;
businessAwayMessageScheduleCustom#79d93855 = BusinessAwayMessageSchedule;
businessAwayMessageSchedule#f1e69bf3 = BusinessAwayMessageSchedule;
businessWorkHours#8af52acd flags:# open_now:flags.0?true timezone_id:string weekly_open:Vector<BusinessWeeklyOpen> = BusinessWorkHours;
businessWeeklyOpen#a3b7aacb weekday:int start_time:int end_time:int = BusinessWeeklyOpen;
await app.invoke(
raw.functions.account.UpdateConnectedBot(
bot=await app.resolve_peer("UsernameBot"),
recipients=InputBusinessRecipients()
)
))
Telegram says: [400 PREMIUM_ACCOUNT_REQUIRED] - The method requires a premium user account (caused by "account.UpdateConnectedBot")
Please open Telegram to view this post
VIEW IN TELEGRAM
🤔4🤯2
stickers.replaceSticker#7b30c3a0 new_sticker:flags.0?InputStickerSetItem sticker:InputDocument = StickerSet;
stickers.renameStickerSet#1245e55f stickerset:InputStickerSet noscript:string = StickerSet;
stickers.deleteStickerSet#da895b71 stickerset:InputStickerSet = Bool;
stickers.createStickerSet#9bd86e6a flags:int user_id:InputUser noscript:string short_name:string thumb:flags.4?InputDocument stickers:Vector<InputStickerSetItem> = StickerSet;
stickers_changeStickerPosition#f8b6ad1f sticker:InputDocument position:int = StickerSet;
stickers_addStickerToSet#e075e46c stickerset:InputStickerSet sticker:InputStickerSetItem = StickerSet;
stickerSet#b60a24a6 flags:int id:long access_hash:long noscript:string short_name:string thumbs:flags.2?Vector<PhotoSize> thumb_dc_id:flags.2?int thumb_version:flags.2?int thumb_document_id:flags.13?long count:int hash:int = StickerSet;
myStickers#3e6d83d8 count:int sets:Vector<StickerSetCovered> = MyStickers;
getMyStickers#3a63d4d4 offset_id:long limit:int = messages.MyStickers;
🥰4👏2😁1
MTProto • Layer
https://github.com/null-nick/TL-Schema/commit/c3e09f4310413ff49b695dfe78df64044153c905
Telegram says: [400 Bad Request] - [400 BUSINESS_CONNECTION_NOT_ALLOWED] (caused by "InvokeWithBusinessConnection")
👍2
account.toggleSponsoredMessages#46265c73 enabled:Bool = account.ToggleSponsoredMessages;
webPageAttributeStickerSet#1cb5c415 flags:# emojis:flags.0?true text_color:flags.1?true stickers:Vector<Document> = WebPageAttribute;
togglePinnedToTop#b297e9b peer:InputPeer id:Vector<int> = stories.TogglePinnedToTop;
stories.stories#63c3dd0a flags:# count:int stories:Vector<StoryItem> pinned_to_top:flags.0?Vector<int> chats:Vector<Chat> users:Vector<User> = stories.stories;
messages.sponsoredMessages#3611e279 flags:# posts_between:flags.0?int messages:Vector<sponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
👍4❤2
emojiGroup#e6dfdeb0 noscript:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;
pollAnswer#12b3ad31 text:flags.0?string option:bytes = PollAnswer;
auth.reportMissingCode#3462100a phone_number:string phone_code_hash:string mnc:string = Bool;
broadcastRevenueBalances#7bc70e3a revenue:long current_balance:long available_balance:long = BroadcastStats;
keyboardButton#77608b83 text:string = KeyboardButton;
messages.getEmojiStickerGroups#1dd840f5 hash:int = messages.EmojiKeyword;
updateBroadcastRevenueTransactions#5c65d358 balances:broadcast.RevenueBalances = Update;
poll#1484026161 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:PollQuestion answers:Vector<PollAnswer> close_period:flags.4?int close_date:flags.5?int = Poll;
🤔3❤2