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
my code here: `` var topic1 = tinode.newTopicWith("usrFqGScSWNnDU"); topic1.isSubscribed = true;
print(topic1.isP2P()); print(topic1.private);
// var topic1 = tinode.getTopic(topicName: "dao_user_alice_vlog"); var pp = await tinode.subscribe( 'frank', MetaGetBuilder(topic1).withLaterSub(null).build(), //SetParams() SetParams( tags: ["travel", "vlog"], // desc: TopicDescription(), sub: TopicSubscription( user: tinode.getCurrentUserId(), online: true, topic: "frank", created: DateTime.now().toUtc(), // public: {"fn": "Frank Singer"}, ), ), );
print(pp);
// topic1. // topic1.invite("alice", "JRWS"); var msg2 = topic1.createMessage("my new message", false); await topic1.publishMessage(msg2);``
The code don't create the topic?
what shall i do to create a simple p2p topic?
The text was updated successfully, but these errors were encountered:
Please use forum for questions.
Sorry, something went wrong.
No branches or pull requests
my code here:
``
var topic1 = tinode.newTopicWith("usrFqGScSWNnDU");
topic1.isSubscribed = true;
print(topic1.isP2P());
print(topic1.private);
// var topic1 = tinode.getTopic(topicName: "dao_user_alice_vlog");
var pp = await tinode.subscribe(
'frank', MetaGetBuilder(topic1).withLaterSub(null).build(), //SetParams()
SetParams(
tags: ["travel", "vlog"],
// desc: TopicDescription(),
sub: TopicSubscription(
user: tinode.getCurrentUserId(),
online: true,
topic: "frank",
created: DateTime.now().toUtc(),
// public: {"fn": "Frank Singer"},
),
),
);
print(pp);
// topic1.
// topic1.invite("alice", "JRWS");
var msg2 = topic1.createMessage("my new message", false);
await topic1.publishMessage(msg2);``
The code don't create the topic?
what shall i do to create a simple p2p topic?
The text was updated successfully, but these errors were encountered: