File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
examples/messaging/messages Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ int main() {
88
99 Appwrite appwrite (projectId, apiKey);
1010
11- std::string messageId = " 6b309gbdfjhfjsk4016e14b8" ;
12- std::string subject = " Hello from C++ Appwrite SDK!" ;
13- std::string content =
14- " Testing SMS message creation with topics, users, and targets." ;
11+ std::string messageId = " msg001" ;
12+ std::string content = " Testing SMS message creation." ;
1513
1614 std::vector<std::string> topics = {};
1715 std::vector<std::string> users = {};
Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ int main() {
88
99 Appwrite appwrite (projectId, apiKey);
1010
11- std::string messageId = " 6b309gbdfjhfjsk4016e14b8" ;
12- std::string subject = " Hello from C++ Appwrite SDK!" ;
13- std::string content =
14- " Testing SMS message updation with topics, users, and targets." ;
11+ std::string messageId = " msg001" ;
12+ std::string content = " Testing SMS message updation." ;
1513
1614 std::vector<std::string> topics = {};
1715 std::vector<std::string> users = {};
@@ -24,10 +22,7 @@ int main() {
2422 future_time.time_since_epoch ()) %
2523 1000 ;
2624
27- std::stringstream ss;
28- ss << std::put_time (std::gmtime (&time_t ), " %Y-%m-%dT%H:%M:%S" );
29- ss << " ." << std::setfill (' 0' ) << std::setw (3 ) << ms.count () << " +00:00" ;
30- std::string scheduled_at = ss.str ();
25+ std::string scheduled_at = " " ;
3126
3227 bool draft = true ;
3328
You can’t perform that action at this time.
0 commit comments