Painor 1 рік тому
батько
коміт
864552f59b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      gramjs/tl/custom/message.ts

+ 1 - 1
gramjs/tl/custom/message.ts

@@ -1042,7 +1042,7 @@ export class CustomMessage extends SenderGetter {
                         }
                     } else {
                         for (const answer of answers) {
-                            if (answer.text == text) {
+                            if (answer.text.text == text) {
                                 return [answer.option];
                             }
                         }