You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! In TG bot i receive array of channels link. And need send messages to all of it. But when i try send it in a cycle using funk (Api.messages.SendMessage), i received error. What i need to do?
I have next construction in code:
client.invoke(
new Api.messages.SendMessage({
// peer: "two_face_project",
noWebpage: true,
background: true,
clearDraft: true,
peer: ${chanelList},
replyToMsgId: 6872073,
message: ${adMessage},
randomId: Math.floor(Math.random() * 1000000),
scheduleDate: 789917,
})
);
The text was updated successfully, but these errors were encountered:
Hi! In TG bot i receive array of channels link. And need send messages to all of it. But when i try send it in a cycle using funk (Api.messages.SendMessage), i received error. What i need to do?
I have next construction in code:
client.invoke(
new Api.messages.SendMessage({
// peer: "two_face_project",
noWebpage: true,
background: true,
clearDraft: true,
peer:
${chanelList}
,replyToMsgId: 6872073,
message:
${adMessage}
,randomId: Math.floor(Math.random() * 1000000),
scheduleDate: 789917,
})
);
The text was updated successfully, but these errors were encountered: