We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch e := event.(type) { case webhook.MessageEvent: switch message := e.Message.(type) { case webhook.TextMessageContent: e.Source.UserId. <---- error
error msg: e.Source.UserId undefined (type webhook.SourceInterface has no field or method UserId)
According to official document we should get UserId https://developers.line.biz/en/reference/messaging-api/#wh-text
Error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
switch e := event.(type) {
case webhook.MessageEvent:
switch message := e.Message.(type) {
case webhook.TextMessageContent:
e.Source.UserId. <---- error
error msg: e.Source.UserId undefined (type webhook.SourceInterface has no field or method UserId)
System Informations
Expected Behavior
According to official document we should get UserId
https://developers.line.biz/en/reference/messaging-api/#wh-text
Current Behavior
Error
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered: