Painor 1 год назад
Родитель
Сommit
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];
                             }
                         }