Send and receive polls with latest protocol version

This commit is contained in:
yash-signal
2025-11-11 16:08:37 -06:00
committed by GitHub
parent 44d412bc06
commit 677404e82d
3 changed files with 6 additions and 3 deletions

View File

@@ -679,6 +679,7 @@ class Message {
create.allowMultiple = Boolean(this.pollCreate.allowMultiple);
create.options = this.pollCreate.options.slice();
proto.pollCreate = create;
proto.requiredProtocolVersion = Proto.DataMessage.ProtocolVersion.POLLS;
}
this.dataMessage = proto;