parent
40f5d0f459
commit
f6aaf49164
1 changed files with 1041 additions and 144 deletions
12
lib/models/content/poll_end.dart
Normal file
12
lib/models/content/poll_end.dart
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import "package:nexus/models/content/content.dart";
|
||||
|
||||
class const PollEndContent() extends Content {
|
||||
factory PollEndContent.fromJson(Map<String, dynamic> json) =>
|
||||
const PollEndContent();
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() => {
|
||||
"org.matrix.msc3381.poll.end": {},
|
||||
"org.matrix.msc1767.text": "Ended the poll",
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue