MTProto • Layer pinned «New TL Schema https://github.com/null-nick/TL-Schema/commit/334b5d430bd63a592927dc53059899cfe4988daa»
smsjobs.eligibleToJoin#dc8b44cf terms_of_use: string monthly_sent_sms: int;
smsjobs.status#2aee9191 flags: int allow_international: Bool recent_sent: int recent_since: int recent_remains: int total_sent: int total_since: int last_gift_slug: flags.2?string terms_url: string;
updateSmsJob#f16269d4 job_id: string = Update;
smsJob#e6a1eeb8 job_id: string phone_number: string text: string;
smsjobs.isEligibleToJoin#edc39d0 = smsjobs.eligibleToJoin;
smsjobs.join#a74ece2d = Bool;
smsjobs.leave#9898ad73 = Bool;
smsjobs.getStatus#10a698e8 = smsjobs.status;
smsjobs.getSmsJob#778d902f job_id: string = smsJob;
smsjobs.finishJob#4f1ebf24 flags: int job_id: string error: flags.1?string = Bool;
smsjobs.updateSettings#93fa0bf flags: int allow_international: Bool = Bool;
🤯7🔥2👍1
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