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, i'm trying to send story to my premium account, but getting error.
This is my code:
work and return true: const result = await client.invoke(new Api.stories.CanSendStory({ peer: 'me' }));
work and get my stories: const stories = await client.invoke(new Api.stories.GetPeerStories({ peer: 'me' }));
not work and get error "Required object stories.SendStory of undefined is undefined": const story = await client.invoke(new Api.stories.SendStory({ peer: 'me', media: new Api.InputMediaUploadedPhoto({ file: uploaded_file, ttlSeconds: 43 }), privacyRules: [Api.InputPrivacyValueAllowAll] }));
Why? What i'm doing wrong?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, i'm trying to send story to my premium account, but getting error.
This is my code:
work and return true:
const result = await client.invoke(new Api.stories.CanSendStory({ peer: 'me' }));
work and get my stories:
const stories = await client.invoke(new Api.stories.GetPeerStories({ peer: 'me' }));
not work and get error "Required object stories.SendStory of undefined is undefined":
const story = await client.invoke(new Api.stories.SendStory({ peer: 'me', media: new Api.InputMediaUploadedPhoto({ file: uploaded_file, ttlSeconds: 43 }), privacyRules: [Api.InputPrivacyValueAllowAll] }));
Why? What i'm doing wrong?
Thank you!
The text was updated successfully, but these errors were encountered: