gramjs icon indicating copy to clipboard operation
gramjs copied to clipboard

Api.InputReplyToStory (Error "Required object userId of InputReplyToStory is undefined")

Open iamluxe77 opened this issue 3 years ago • 0 comments

await client.invoke(
  new Api.messages.SendMessage({
    peer: userId,
    replyTo: new Api.InputReplyToStory({
      userId: userId,
      storyId: storyId,
    }),
    message: 'Message'
  })
);

Gets error: Required object userId of InputReplyToStory is undefined

But userId is correct.

iamluxe77 avatar Nov 04 '23 17:11 iamluxe77