-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassdpp_1_1application.html
886 lines (795 loc) · 55.8 KB
/
classdpp_1_1application.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta property="og:title" content="dpp::application Class Reference - D++ - The lightweight C++ Discord API Library">
<meta property="og:description" content="A lightweight C++ Discord API library supporting the entire Discord API, including Slash Commands, Voice/Audio, Sharding, Clustering and more!">
<meta name="description" content="dpp::application Class Reference - D++ - A lightweight C++ Discord API library supporting the entire Discord API, including Slash Commands, Voice/Audio, Sharding, Clustering and more!">
<meta property="og:image" content="https://dpp.dev/DPP-Logo.png">
<meta property="og:url" content="https://dpp.dev/">
<meta property="og:type" content="website">
<meta property="twitter:title" content="dpp::application Class Reference - D++ - The lightweight C++ Discord API Library">
<title>dpp::application Class Reference - D++ - The lightweight C++ Discord API Library</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<script>
setTimeout(function() {
$("#main-menu").html($("#main-menu").html() + "<li><select name='vsv' onchange='window.location.href=this.options[this.selectedIndex].value'><option value='/'>master</option><option value='/10.0.35/'>10.0.35</option><option value='/10.0.34/'>10.0.34</option><option value='/10.0.33/'>10.0.33</option><option value='/10.0.32/'>10.0.32</option><option value='/10.0.31/'>10.0.31</option><option value='/10.0.30/'>10.0.30</option><option value='/10.0.29/'>10.0.29</option><option value='/10.0.28/'>10.0.28</option><option value='/10.0.27/'>10.0.27</option><option value='/10.0.26/'>10.0.26</option><option value='/10.0.25/'>10.0.25</option><option value='/10.0.24/'>10.0.24</option><option value='/10.0.23/'>10.0.23</option><option value='/10.0.22/'>10.0.22</option><option value='/10.0.21/'>10.0.21</option><option value='/10.0.20/'>10.0.20</option><option value='/10.0.19/'>10.0.19</option><option value='/10.0.18/'>10.0.18</option><option value='/10.0.17/'>10.0.17</option><option value='/10.0.16/'>10.0.16</option><option value='/10.0.15/'>10.0.15</option><option value='/10.0.14/'>10.0.14</option><option selected value='/10.0.13/'>10.0.13</option><option value='/10.0.12/'>10.0.12</option><option value='/10.0.11/'>10.0.11</option><option value='/10.0.10/'>10.0.10</option><option value='/10.0.9/'>10.0.9</option><option value='/10.0.8/'>10.0.8</option><option value='/10.0.7/'>10.0.7</option><option value='/10.0.6/'>10.0.6</option><option value='/10.0.5/'>10.0.5</option><option value='/10.0.4/'>10.0.4</option><option value='/10.0.3/'>10.0.3</option><option value='/10.0.2/'>10.0.2</option><option value='/10.0.1/'>10.0.1</option><option value='/10.0.0/'>10.0.0</option><option value='/9.0.19/'>9.0.19</option><option value='/9.0.18/'>9.0.18</option><option value='/9.0.17/'>9.0.17</option><option value='/9.0.16/'>9.0.16</option><option value='/9.0.15/'>9.0.15</option><option value='/9.0.14/'>9.0.14</option><option value='/9.0.13/'>9.0.13</option><option value='/9.0.12/'>9.0.12</option><option value='/9.0.11/'>9.0.11</option><option value='/9.0.10/'>9.0.10</option><option value='/9.0.9/'>9.0.9</option><option value='/9.0.8/'>9.0.8</option><option value='/9.0.7/'>9.0.7</option><option value='/9.0.6/'>9.0.6</option><option value='/9.0.5/'>9.0.5</option><option value='/9.0.4/'>9.0.4</option><option value='/9.0.3/'>9.0.3</option><option value='/9.0.2/'>9.0.2</option><option value='/9.0.1/'>9.0.1</option><option value='/9.0.0/'>9.0.0</option><option value='/1.0.2/'>1.0.2</option><option value='/1.0.1/'>1.0.1</option><option value='/1.0.0/'>1.0.0</option></select></li>");
}, 500);
</script>
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="projectlogo"><img alt="Logo" src="DPP-Logo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">D++ (DPP)
</div>
<div id="projectbrief">C++ Discord API Bot Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<label for="MSearchField" style="display: none">Search</label>
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classdpp_1_1application.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="classdpp_1_1application-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">dpp::application Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>The application class represents details of a bot application.
<a href="classdpp_1_1application.html#details">More...</a></p>
<p><code>#include <application.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for dpp::application:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classdpp_1_1application__inherit__graph.svg" width="330" height="218"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for dpp::application:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classdpp_1_1application__coll__graph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a20b27bd6cecfbff3ed083c65d4edf044"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a20b27bd6cecfbff3ed083c65d4edf044">application</a> ()</td></tr>
<tr class="separator:a20b27bd6cecfbff3ed083c65d4edf044"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9c07959319bada770b8288157c319e6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ae9c07959319bada770b8288157c319e6">~application</a> ()</td></tr>
<tr class="separator:ae9c07959319bada770b8288157c319e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1fe25fde3ada9b7392c70f715a0e50d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdpp_1_1application.html">application</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ad1fe25fde3ada9b7392c70f715a0e50d">fill_from_json</a> (nlohmann::json *j)</td></tr>
<tr class="separator:ad1fe25fde3ada9b7392c70f715a0e50d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf128cc9b4b0656acbbbb93984b4e506"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#adf128cc9b4b0656acbbbb93984b4e506">get_cover_image_url</a> (uint16_t size=0) const</td></tr>
<tr class="memdesc:adf128cc9b4b0656acbbbb93984b4e506"><td class="mdescLeft"> </td><td class="mdescRight">Get the applications cover image url if they have one, otherwise returns an empty string. <a href="classdpp_1_1application.html#adf128cc9b4b0656acbbbb93984b4e506">More...</a><br /></td></tr>
<tr class="separator:adf128cc9b4b0656acbbbb93984b4e506"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac46c801533a9ce13dcada684b0e7cfe6"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ac46c801533a9ce13dcada684b0e7cfe6">get_icon_url</a> (uint16_t size=0) const</td></tr>
<tr class="memdesc:ac46c801533a9ce13dcada684b0e7cfe6"><td class="mdescLeft"> </td><td class="mdescRight">Get the applications icon url if they have one, otherwise returns an empty string. <a href="classdpp_1_1application.html#ac46c801533a9ce13dcada684b0e7cfe6">More...</a><br /></td></tr>
<tr class="separator:ac46c801533a9ce13dcada684b0e7cfe6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa66e351fb6573a9d262ffdb2f47681b7"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1managed.html#aa66e351fb6573a9d262ffdb2f47681b7">get_creation_time</a> () const</td></tr>
<tr class="memdesc:aa66e351fb6573a9d262ffdb2f47681b7"><td class="mdescLeft"> </td><td class="mdescRight">Get the creation time of this object according to Discord. <a href="classdpp_1_1managed.html#aa66e351fb6573a9d262ffdb2f47681b7">More...</a><br /></td></tr>
<tr class="separator:aa66e351fb6573a9d262ffdb2f47681b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaae075e2919ee153d9c1ed34c41b8a33"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1managed.html#aaae075e2919ee153d9c1ed34c41b8a33">operator==</a> (const <a class="el" href="classdpp_1_1managed.html">managed</a> &other) const noexcept</td></tr>
<tr class="memdesc:aaae075e2919ee153d9c1ed34c41b8a33"><td class="mdescLeft"> </td><td class="mdescRight">Comparison operator for comparing two managed objects by id. <a href="classdpp_1_1managed.html#aaae075e2919ee153d9c1ed34c41b8a33">More...</a><br /></td></tr>
<tr class="separator:aaae075e2919ee153d9c1ed34c41b8a33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f086ed62419d373646e5d0e63667fd5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1managed.html#a9f086ed62419d373646e5d0e63667fd5">operator!=</a> (const <a class="el" href="classdpp_1_1managed.html">managed</a> &other) const noexcept</td></tr>
<tr class="memdesc:a9f086ed62419d373646e5d0e63667fd5"><td class="mdescLeft"> </td><td class="mdescRight">Comparison operator for comparing two managed objects by id. <a href="classdpp_1_1managed.html#a9f086ed62419d373646e5d0e63667fd5">More...</a><br /></td></tr>
<tr class="separator:a9f086ed62419d373646e5d0e63667fd5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a287c22f692ee3d25b6f9b320ff35baa1"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structdpp_1_1json__interface.html#a287c22f692ee3d25b6f9b320ff35baa1">build_json</a> (bool with_id=false) const</td></tr>
<tr class="memdesc:a287c22f692ee3d25b6f9b320ff35baa1"><td class="mdescLeft"> </td><td class="mdescRight">Build JSON string from the object. <a href="structdpp_1_1json__interface.html#a287c22f692ee3d25b6f9b320ff35baa1">More...</a><br /></td></tr>
<tr class="separator:a287c22f692ee3d25b6f9b320ff35baa1"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a84eabe6867188b3479c62856037d4f7e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a84eabe6867188b3479c62856037d4f7e">name</a></td></tr>
<tr class="memdesc:a84eabe6867188b3479c62856037d4f7e"><td class="mdescLeft"> </td><td class="mdescRight">the name of the app <a href="classdpp_1_1application.html#a84eabe6867188b3479c62856037d4f7e">More...</a><br /></td></tr>
<tr class="separator:a84eabe6867188b3479c62856037d4f7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6e765f3953994066ba388d70f3f7ecb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdpp_1_1utility_1_1iconhash.html">utility::iconhash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ac6e765f3953994066ba388d70f3f7ecb">icon</a></td></tr>
<tr class="memdesc:ac6e765f3953994066ba388d70f3f7ecb"><td class="mdescLeft"> </td><td class="mdescRight">the icon hash of the app (may be empty) <a href="classdpp_1_1application.html#ac6e765f3953994066ba388d70f3f7ecb">More...</a><br /></td></tr>
<tr class="separator:ac6e765f3953994066ba388d70f3f7ecb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ddc12a2501ab7bd7b5d9ad3633cab9f"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a6ddc12a2501ab7bd7b5d9ad3633cab9f">description</a></td></tr>
<tr class="memdesc:a6ddc12a2501ab7bd7b5d9ad3633cab9f"><td class="mdescLeft"> </td><td class="mdescRight">the description of the app <a href="classdpp_1_1application.html#a6ddc12a2501ab7bd7b5d9ad3633cab9f">More...</a><br /></td></tr>
<tr class="separator:a6ddc12a2501ab7bd7b5d9ad3633cab9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac80deaf158551887c9f4c0b4be7b6ec7"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ac80deaf158551887c9f4c0b4be7b6ec7">rpc_origins</a></td></tr>
<tr class="memdesc:ac80deaf158551887c9f4c0b4be7b6ec7"><td class="mdescLeft"> </td><td class="mdescRight">Optional: an array of rpc origin urls, if rpc is enabled. <a href="classdpp_1_1application.html#ac80deaf158551887c9f4c0b4be7b6ec7">More...</a><br /></td></tr>
<tr class="separator:ac80deaf158551887c9f4c0b4be7b6ec7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1724baabe72d957d04b0a30bc4604d8b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a1724baabe72d957d04b0a30bc4604d8b">bot_public</a></td></tr>
<tr class="memdesc:a1724baabe72d957d04b0a30bc4604d8b"><td class="mdescLeft"> </td><td class="mdescRight">when false only app owner can join the app's bot to guilds <a href="classdpp_1_1application.html#a1724baabe72d957d04b0a30bc4604d8b">More...</a><br /></td></tr>
<tr class="separator:a1724baabe72d957d04b0a30bc4604d8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9942dd58f1ca9da0839f0a295612290c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a9942dd58f1ca9da0839f0a295612290c">bot_require_code_grant</a></td></tr>
<tr class="memdesc:a9942dd58f1ca9da0839f0a295612290c"><td class="mdescLeft"> </td><td class="mdescRight">when true the app's bot will only join upon completion of the full oauth2 code grant flow <a href="classdpp_1_1application.html#a9942dd58f1ca9da0839f0a295612290c">More...</a><br /></td></tr>
<tr class="separator:a9942dd58f1ca9da0839f0a295612290c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ba6df6bcd2636fcc0203fdecb10047a"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a1ba6df6bcd2636fcc0203fdecb10047a">terms_of_service_url</a></td></tr>
<tr class="memdesc:a1ba6df6bcd2636fcc0203fdecb10047a"><td class="mdescLeft"> </td><td class="mdescRight">Optional: the url of the app's terms of service. <a href="classdpp_1_1application.html#a1ba6df6bcd2636fcc0203fdecb10047a">More...</a><br /></td></tr>
<tr class="separator:a1ba6df6bcd2636fcc0203fdecb10047a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97b791c3e357fcdcea6306efffb9584e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a97b791c3e357fcdcea6306efffb9584e">privacy_policy_url</a></td></tr>
<tr class="memdesc:a97b791c3e357fcdcea6306efffb9584e"><td class="mdescLeft"> </td><td class="mdescRight">Optional: the url of the app's privacy policy. <a href="classdpp_1_1application.html#a97b791c3e357fcdcea6306efffb9584e">More...</a><br /></td></tr>
<tr class="separator:a97b791c3e357fcdcea6306efffb9584e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5af52bd0ba8718a8bea8cd0c8898f1b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdpp_1_1user.html">user</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a5af52bd0ba8718a8bea8cd0c8898f1b6">owner</a></td></tr>
<tr class="memdesc:a5af52bd0ba8718a8bea8cd0c8898f1b6"><td class="mdescLeft"> </td><td class="mdescRight">Optional: partial user object containing info on the owner of the application. <a href="classdpp_1_1application.html#a5af52bd0ba8718a8bea8cd0c8898f1b6">More...</a><br /></td></tr>
<tr class="separator:a5af52bd0ba8718a8bea8cd0c8898f1b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2989a857540c3d20b96b3722a8c9aaf1"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a2989a857540c3d20b96b3722a8c9aaf1">summary</a></td></tr>
<tr class="memdesc:a2989a857540c3d20b96b3722a8c9aaf1"><td class="mdescLeft"> </td><td class="mdescRight">if this application is a game sold on Discord, this field will be the summary field for the store page of its primary sku <a href="classdpp_1_1application.html#a2989a857540c3d20b96b3722a8c9aaf1">More...</a><br /></td></tr>
<tr class="separator:a2989a857540c3d20b96b3722a8c9aaf1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53fefb61833dd83db7abe1b0a9c2ef3e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a53fefb61833dd83db7abe1b0a9c2ef3e">verify_key</a></td></tr>
<tr class="memdesc:a53fefb61833dd83db7abe1b0a9c2ef3e"><td class="mdescLeft"> </td><td class="mdescRight">the hex encoded key for verification in interactions and the GameSDK's GetTicket <a href="classdpp_1_1application.html#a53fefb61833dd83db7abe1b0a9c2ef3e">More...</a><br /></td></tr>
<tr class="separator:a53fefb61833dd83db7abe1b0a9c2ef3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45812eef5fcaa5981dfbd107a8a565fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdpp_1_1app__team.html">app_team</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a45812eef5fcaa5981dfbd107a8a565fc">team</a></td></tr>
<tr class="memdesc:a45812eef5fcaa5981dfbd107a8a565fc"><td class="mdescLeft"> </td><td class="mdescRight">if the application belongs to a team, this will be a list of the members of that team (may be empty) <a href="classdpp_1_1application.html#a45812eef5fcaa5981dfbd107a8a565fc">More...</a><br /></td></tr>
<tr class="separator:a45812eef5fcaa5981dfbd107a8a565fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff84fc8a95d5fe5aa88da545ebe5154c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#aff84fc8a95d5fe5aa88da545ebe5154c">guild_id</a></td></tr>
<tr class="memdesc:aff84fc8a95d5fe5aa88da545ebe5154c"><td class="mdescLeft"> </td><td class="mdescRight">Optional: if this application is a game sold on Discord, this field will be the guild to which it has been linked. <a href="classdpp_1_1application.html#aff84fc8a95d5fe5aa88da545ebe5154c">More...</a><br /></td></tr>
<tr class="separator:aff84fc8a95d5fe5aa88da545ebe5154c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7aa6f427a79d6efb30d22f34dbecae98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a7aa6f427a79d6efb30d22f34dbecae98">primary_sku_id</a></td></tr>
<tr class="memdesc:a7aa6f427a79d6efb30d22f34dbecae98"><td class="mdescLeft"> </td><td class="mdescRight">Optional: if this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists. <a href="classdpp_1_1application.html#a7aa6f427a79d6efb30d22f34dbecae98">More...</a><br /></td></tr>
<tr class="separator:a7aa6f427a79d6efb30d22f34dbecae98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6ae37d7a50f84f688abc53b47655797"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#af6ae37d7a50f84f688abc53b47655797">slug</a></td></tr>
<tr class="memdesc:af6ae37d7a50f84f688abc53b47655797"><td class="mdescLeft"> </td><td class="mdescRight">Optional: if this application is a game sold on Discord, this field will be the URL slug that links to the store page. <a href="classdpp_1_1application.html#af6ae37d7a50f84f688abc53b47655797">More...</a><br /></td></tr>
<tr class="separator:af6ae37d7a50f84f688abc53b47655797"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a564b1a926e6890cb59db5130c5b3ac5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdpp_1_1utility_1_1iconhash.html">utility::iconhash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a564b1a926e6890cb59db5130c5b3ac5d">cover_image</a></td></tr>
<tr class="memdesc:a564b1a926e6890cb59db5130c5b3ac5d"><td class="mdescLeft"> </td><td class="mdescRight">Optional: the application's default rich presence invite cover image hash. <a href="classdpp_1_1application.html#a564b1a926e6890cb59db5130c5b3ac5d">More...</a><br /></td></tr>
<tr class="separator:a564b1a926e6890cb59db5130c5b3ac5d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad057bffc84c68adf36cf6532455a7f40"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ad057bffc84c68adf36cf6532455a7f40">flags</a></td></tr>
<tr class="memdesc:ad057bffc84c68adf36cf6532455a7f40"><td class="mdescLeft"> </td><td class="mdescRight">Optional: the application's public flags. <a href="classdpp_1_1application.html#ad057bffc84c68adf36cf6532455a7f40">More...</a><br /></td></tr>
<tr class="separator:ad057bffc84c68adf36cf6532455a7f40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc6671becb10a6d81554c74e6e064a18"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#abc6671becb10a6d81554c74e6e064a18">tags</a></td></tr>
<tr class="memdesc:abc6671becb10a6d81554c74e6e064a18"><td class="mdescLeft"> </td><td class="mdescRight">Up to 5 tags describing the content and functionality of the application. <a href="classdpp_1_1application.html#abc6671becb10a6d81554c74e6e064a18">More...</a><br /></td></tr>
<tr class="separator:abc6671becb10a6d81554c74e6e064a18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d59f66fb7f7132320c3b3c37013729a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdpp_1_1application__install__params.html">application_install_params</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#a3d59f66fb7f7132320c3b3c37013729a">install_params</a></td></tr>
<tr class="memdesc:a3d59f66fb7f7132320c3b3c37013729a"><td class="mdescLeft"> </td><td class="mdescRight">Settings for the application's default in-app authorization link, if enabled. <a href="classdpp_1_1application.html#a3d59f66fb7f7132320c3b3c37013729a">More...</a><br /></td></tr>
<tr class="separator:a3d59f66fb7f7132320c3b3c37013729a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab375815dd2f6d026efb2da64f9443574"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1application.html#ab375815dd2f6d026efb2da64f9443574">custom_install_url</a></td></tr>
<tr class="memdesc:ab375815dd2f6d026efb2da64f9443574"><td class="mdescLeft"> </td><td class="mdescRight">The application's default custom authorization link, if enabled. <a href="classdpp_1_1application.html#ab375815dd2f6d026efb2da64f9443574">More...</a><br /></td></tr>
<tr class="separator:ab375815dd2f6d026efb2da64f9443574"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40bf0c6cc03909910512808fa6caa112"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdpp_1_1managed.html#a40bf0c6cc03909910512808fa6caa112">id</a></td></tr>
<tr class="memdesc:a40bf0c6cc03909910512808fa6caa112"><td class="mdescLeft"> </td><td class="mdescRight">Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relevant to us as useful metadata. <a href="classdpp_1_1managed.html#a40bf0c6cc03909910512808fa6caa112">More...</a><br /></td></tr>
<tr class="separator:a40bf0c6cc03909910512808fa6caa112"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >The application class represents details of a bot application. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a20b27bd6cecfbff3ed083c65d4edf044" name="a20b27bd6cecfbff3ed083c65d4edf044"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20b27bd6cecfbff3ed083c65d4edf044">◆ </a></span>application()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dpp::application::application </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p >Constructor </p>
</div>
</div>
<a id="ae9c07959319bada770b8288157c319e6" name="ae9c07959319bada770b8288157c319e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9c07959319bada770b8288157c319e6">◆ </a></span>~application()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dpp::application::~application </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p >Destructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a287c22f692ee3d25b6f9b320ff35baa1" name="a287c22f692ee3d25b6f9b320ff35baa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a287c22f692ee3d25b6f9b320ff35baa1">◆ </a></span>build_json()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::string <a class="el" href="structdpp_1_1json__interface.html">dpp::json_interface</a>< <a class="el" href="classdpp_1_1application.html">application</a> >::build_json </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>with_id</em> = <code>false</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Build JSON string from the object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">with_id</td><td>Include the ID in the JSON </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::string JSON string version of object </dd></dl>
</div>
</div>
<a id="ad1fe25fde3ada9b7392c70f715a0e50d" name="ad1fe25fde3ada9b7392c70f715a0e50d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1fe25fde3ada9b7392c70f715a0e50d">◆ </a></span>fill_from_json()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdpp_1_1application.html">application</a> & dpp::application::fill_from_json </td>
<td>(</td>
<td class="paramtype">nlohmann::json * </td>
<td class="paramname"><em>j</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p >Read class values from json object </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">j</td><td>A json object to read from </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to self </dd></dl>
</div>
</div>
<a id="adf128cc9b4b0656acbbbb93984b4e506" name="adf128cc9b4b0656acbbbb93984b4e506"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf128cc9b4b0656acbbbb93984b4e506">◆ </a></span>get_cover_image_url()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::get_cover_image_url </td>
<td>(</td>
<td class="paramtype">uint16_t </td>
<td class="paramname"><em>size</em> = <code>0</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the applications cover image url if they have one, otherwise returns an empty string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td>The size of the cover image in pixels. It can be any power of two between 16 and 4096. if not specified, the default sized cover image is returned. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::string cover image url or empty string </dd></dl>
</div>
</div>
<a id="aa66e351fb6573a9d262ffdb2f47681b7" name="aa66e351fb6573a9d262ffdb2f47681b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa66e351fb6573a9d262ffdb2f47681b7">◆ </a></span>get_creation_time()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double dpp::managed::get_creation_time </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the creation time of this object according to Discord. </p>
<dl class="section return"><dt>Returns</dt><dd>double creation time inferred from the snowflake ID. The minimum possible value is the first second of 2015. </dd></dl>
</div>
</div>
<a id="ac46c801533a9ce13dcada684b0e7cfe6" name="ac46c801533a9ce13dcada684b0e7cfe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac46c801533a9ce13dcada684b0e7cfe6">◆ </a></span>get_icon_url()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::get_icon_url </td>
<td>(</td>
<td class="paramtype">uint16_t </td>
<td class="paramname"><em>size</em> = <code>0</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the applications icon url if they have one, otherwise returns an empty string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td>The size of the icon in pixels. It can be any power of two between 16 and 4096. if not specified, the default sized icon is returned. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::string icon url or empty string </dd></dl>
</div>
</div>
<a id="a9f086ed62419d373646e5d0e63667fd5" name="a9f086ed62419d373646e5d0e63667fd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f086ed62419d373646e5d0e63667fd5">◆ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool dpp::managed::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classdpp_1_1managed.html">managed</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Comparison operator for comparing two managed objects by id. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other object to compare against </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true objects are not the same id </dd>
<dd>
false objects are the same id </dd></dl>
</div>
</div>
<a id="aaae075e2919ee153d9c1ed34c41b8a33" name="aaae075e2919ee153d9c1ed34c41b8a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae075e2919ee153d9c1ed34c41b8a33">◆ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool dpp::managed::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classdpp_1_1managed.html">managed</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Comparison operator for comparing two managed objects by id. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other object to compare against </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true objects are the same id </dd>
<dd>
false objects are not the same id </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a1724baabe72d957d04b0a30bc4604d8b" name="a1724baabe72d957d04b0a30bc4604d8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1724baabe72d957d04b0a30bc4604d8b">◆ </a></span>bot_public</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool dpp::application::bot_public</td>
</tr>
</table>
</div><div class="memdoc">
<p>when false only app owner can join the app's bot to guilds </p>
</div>
</div>
<a id="a9942dd58f1ca9da0839f0a295612290c" name="a9942dd58f1ca9da0839f0a295612290c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9942dd58f1ca9da0839f0a295612290c">◆ </a></span>bot_require_code_grant</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool dpp::application::bot_require_code_grant</td>
</tr>
</table>
</div><div class="memdoc">
<p>when true the app's bot will only join upon completion of the full oauth2 code grant flow </p>
</div>
</div>
<a id="a564b1a926e6890cb59db5130c5b3ac5d" name="a564b1a926e6890cb59db5130c5b3ac5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a564b1a926e6890cb59db5130c5b3ac5d">◆ </a></span>cover_image</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structdpp_1_1utility_1_1iconhash.html">utility::iconhash</a> dpp::application::cover_image</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: the application's default rich presence invite cover image hash. </p>
</div>
</div>
<a id="ab375815dd2f6d026efb2da64f9443574" name="ab375815dd2f6d026efb2da64f9443574"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab375815dd2f6d026efb2da64f9443574">◆ </a></span>custom_install_url</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::custom_install_url</td>
</tr>
</table>
</div><div class="memdoc">
<p>The application's default custom authorization link, if enabled. </p>
</div>
</div>
<a id="a6ddc12a2501ab7bd7b5d9ad3633cab9f" name="a6ddc12a2501ab7bd7b5d9ad3633cab9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ddc12a2501ab7bd7b5d9ad3633cab9f">◆ </a></span>description</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::description</td>
</tr>
</table>
</div><div class="memdoc">
<p>the description of the app </p>
</div>
</div>
<a id="ad057bffc84c68adf36cf6532455a7f40" name="ad057bffc84c68adf36cf6532455a7f40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad057bffc84c68adf36cf6532455a7f40">◆ </a></span>flags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t dpp::application::flags</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: the application's public flags. </p>
</div>
</div>
<a id="aff84fc8a95d5fe5aa88da545ebe5154c" name="aff84fc8a95d5fe5aa88da545ebe5154c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff84fc8a95d5fe5aa88da545ebe5154c">◆ </a></span>guild_id</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> dpp::application::guild_id</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: if this application is a game sold on Discord, this field will be the guild to which it has been linked. </p>
</div>
</div>
<a id="ac6e765f3953994066ba388d70f3f7ecb" name="ac6e765f3953994066ba388d70f3f7ecb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6e765f3953994066ba388d70f3f7ecb">◆ </a></span>icon</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structdpp_1_1utility_1_1iconhash.html">utility::iconhash</a> dpp::application::icon</td>
</tr>
</table>
</div><div class="memdoc">
<p>the icon hash of the app (may be empty) </p>
</div>
</div>
<a id="a40bf0c6cc03909910512808fa6caa112" name="a40bf0c6cc03909910512808fa6caa112"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40bf0c6cc03909910512808fa6caa112">◆ </a></span>id</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> dpp::managed::id</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relevant to us as useful metadata. </p>
</div>
</div>
<a id="a3d59f66fb7f7132320c3b3c37013729a" name="a3d59f66fb7f7132320c3b3c37013729a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d59f66fb7f7132320c3b3c37013729a">◆ </a></span>install_params</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structdpp_1_1application__install__params.html">application_install_params</a> dpp::application::install_params</td>
</tr>
</table>
</div><div class="memdoc">
<p>Settings for the application's default in-app authorization link, if enabled. </p>
</div>
</div>
<a id="a84eabe6867188b3479c62856037d4f7e" name="a84eabe6867188b3479c62856037d4f7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84eabe6867188b3479c62856037d4f7e">◆ </a></span>name</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::name</td>
</tr>
</table>
</div><div class="memdoc">
<p>the name of the app </p>
</div>
</div>
<a id="a5af52bd0ba8718a8bea8cd0c8898f1b6" name="a5af52bd0ba8718a8bea8cd0c8898f1b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5af52bd0ba8718a8bea8cd0c8898f1b6">◆ </a></span>owner</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdpp_1_1user.html">user</a> dpp::application::owner</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: partial user object containing info on the owner of the application. </p>
</div>
</div>
<a id="a7aa6f427a79d6efb30d22f34dbecae98" name="a7aa6f427a79d6efb30d22f34dbecae98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7aa6f427a79d6efb30d22f34dbecae98">◆ </a></span>primary_sku_id</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacedpp.html#a0dec2a52b080906aebfd3e1b3db02475">snowflake</a> dpp::application::primary_sku_id</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: if this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists. </p>
</div>
</div>
<a id="a97b791c3e357fcdcea6306efffb9584e" name="a97b791c3e357fcdcea6306efffb9584e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97b791c3e357fcdcea6306efffb9584e">◆ </a></span>privacy_policy_url</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::privacy_policy_url</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: the url of the app's privacy policy. </p>
</div>
</div>
<a id="ac80deaf158551887c9f4c0b4be7b6ec7" name="ac80deaf158551887c9f4c0b4be7b6ec7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac80deaf158551887c9f4c0b4be7b6ec7">◆ </a></span>rpc_origins</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::rpc_origins</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: an array of rpc origin urls, if rpc is enabled. </p>
</div>
</div>
<a id="af6ae37d7a50f84f688abc53b47655797" name="af6ae37d7a50f84f688abc53b47655797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6ae37d7a50f84f688abc53b47655797">◆ </a></span>slug</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::slug</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: if this application is a game sold on Discord, this field will be the URL slug that links to the store page. </p>
</div>
</div>
<a id="a2989a857540c3d20b96b3722a8c9aaf1" name="a2989a857540c3d20b96b3722a8c9aaf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2989a857540c3d20b96b3722a8c9aaf1">◆ </a></span>summary</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::summary</td>
</tr>
</table>
</div><div class="memdoc">
<p>if this application is a game sold on Discord, this field will be the summary field for the store page of its primary sku </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>Will be removed in v11 </dd></dl>
</div>
</div>
<a id="abc6671becb10a6d81554c74e6e064a18" name="abc6671becb10a6d81554c74e6e064a18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc6671becb10a6d81554c74e6e064a18">◆ </a></span>tags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector<std::string> dpp::application::tags</td>
</tr>
</table>
</div><div class="memdoc">
<p>Up to 5 tags describing the content and functionality of the application. </p>
</div>
</div>
<a id="a45812eef5fcaa5981dfbd107a8a565fc" name="a45812eef5fcaa5981dfbd107a8a565fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45812eef5fcaa5981dfbd107a8a565fc">◆ </a></span>team</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdpp_1_1app__team.html">app_team</a> dpp::application::team</td>
</tr>
</table>
</div><div class="memdoc">
<p>if the application belongs to a team, this will be a list of the members of that team (may be empty) </p>
</div>
</div>
<a id="a1ba6df6bcd2636fcc0203fdecb10047a" name="a1ba6df6bcd2636fcc0203fdecb10047a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ba6df6bcd2636fcc0203fdecb10047a">◆ </a></span>terms_of_service_url</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::terms_of_service_url</td>
</tr>
</table>
</div><div class="memdoc">
<p>Optional: the url of the app's terms of service. </p>
</div>
</div>
<a id="a53fefb61833dd83db7abe1b0a9c2ef3e" name="a53fefb61833dd83db7abe1b0a9c2ef3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53fefb61833dd83db7abe1b0a9c2ef3e">◆ </a></span>verify_key</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string dpp::application::verify_key</td>
</tr>
</table>
</div><div class="memdoc">
<p>the hex encoded key for verification in interactions and the GameSDK's GetTicket </p>
</div>
</div>
</div><!-- contents --><script src="https://giscus.app/client.js" data-repo="brainboxdotcc/dpp-comments" data-repo-id="R_kgDOHOY4xg" data-category="General" data-category-id="DIC_kwDOHOY4xs4CRYtj" data-mapping="pathname" data-strict="1" data-reactions-enabled="1" data-emit-metadata="1" data-input-position="top" data-theme="preferred_color_scheme" data-lang="en" data-loading="lazy" crossorigin="anonymous" async></script>
</div><!-- doc-content -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacedpp.html">dpp</a></li><li class="navelem"><a class="el" href="classdpp_1_1application.html">application</a></li>
</ul>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QTH6YHBNG5"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/base16/dracula.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100&display=swap" rel="stylesheet">
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-QTH6YHBNG5');
$(function() {
$(".fragment").each(function(i,node) {
var $node = $(node);
$node.children(":not(.line)").remove();
$node.html("<pre><code class='stan'>" + $node.text().trim().replaceAll("<", "<").replaceAll(">", ">") + "</code></pre>");
hljs.configure({
languages: ['cpp','diff','cmake','bash','sh','text'],
ignoreUnescapedHTML: true
});
hljs.highlightAll(node);
hljs.initLineNumbersOnLoad(node);
});
$(".fragment").parent().parent().parent().parent().removeClass('doxtable');
});
</script>
<style>
.hljs-ln-code, code, code a, pre.fragment, div.fragment, div.fragment .line, div.fragment span, div.fragment .line a, div.fragment .line span {
font-family: 'JetBrains Mono', monospace !important;
font-size: 0.8rem !important;
}
.fragment {
padding: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
background: none !important;
border: 0 !important;
}
.hljs-ln-n::before {
content: attr(data-line-number);
padding-right: 1rem !important;
}
table.markdownTable code td, table.markdownTable code th, table.fieldtable code td, table.fieldtable code th, table.doxtable code td, table.doxtable code th {
border: 0 !important;
padding: 0 !important;
}
</style>
<div style="z-index: -9999; position: absolute; right: 0; top: 0; font-size: 0.0001rem;color:transparent;background:none">
<!-- For crawlability of past versions -->
<a href='/10.0.35/'>D++ Library version 10.0.35</a><a href='/10.0.34/'>D++ Library version 10.0.34</a><a href='/10.0.33/'>D++ Library version 10.0.33</a><a href='/10.0.32/'>D++ Library version 10.0.32</a><a href='/10.0.31/'>D++ Library version 10.0.31</a><a href='/10.0.30/'>D++ Library version 10.0.30</a><a href='/10.0.29/'>D++ Library version 10.0.29</a><a href='/10.0.28/'>D++ Library version 10.0.28</a><a href='/10.0.27/'>D++ Library version 10.0.27</a><a href='/10.0.26/'>D++ Library version 10.0.26</a><a href='/10.0.25/'>D++ Library version 10.0.25</a><a href='/10.0.24/'>D++ Library version 10.0.24</a><a href='/10.0.23/'>D++ Library version 10.0.23</a><a href='/10.0.22/'>D++ Library version 10.0.22</a><a href='/10.0.21/'>D++ Library version 10.0.21</a><a href='/10.0.20/'>D++ Library version 10.0.20</a><a href='/10.0.19/'>D++ Library version 10.0.19</a><a href='/10.0.18/'>D++ Library version 10.0.18</a><a href='/10.0.17/'>D++ Library version 10.0.17</a><a href='/10.0.16/'>D++ Library version 10.0.16</a><a href='/10.0.15/'>D++ Library version 10.0.15</a><a href='/10.0.14/'>D++ Library version 10.0.14</a><a href='/10.0.13/'>D++ Library version 10.0.13</a><a href='/10.0.12/'>D++ Library version 10.0.12</a><a href='/10.0.11/'>D++ Library version 10.0.11</a><a href='/10.0.10/'>D++ Library version 10.0.10</a><a href='/10.0.9/'>D++ Library version 10.0.9</a><a href='/10.0.8/'>D++ Library version 10.0.8</a><a href='/10.0.7/'>D++ Library version 10.0.7</a><a href='/10.0.6/'>D++ Library version 10.0.6</a><a href='/10.0.5/'>D++ Library version 10.0.5</a><a href='/10.0.4/'>D++ Library version 10.0.4</a><a href='/10.0.3/'>D++ Library version 10.0.3</a><a href='/10.0.2/'>D++ Library version 10.0.2</a><a href='/10.0.1/'>D++ Library version 10.0.1</a><a href='/10.0.0/'>D++ Library version 10.0.0</a><a href='/9.0.19/'>D++ Library version 9.0.19</a><a href='/9.0.18/'>D++ Library version 9.0.18</a><a href='/9.0.17/'>D++ Library version 9.0.17</a><a href='/9.0.16/'>D++ Library version 9.0.16</a><a href='/9.0.15/'>D++ Library version 9.0.15</a><a href='/9.0.14/'>D++ Library version 9.0.14</a><a href='/9.0.13/'>D++ Library version 9.0.13</a><a href='/9.0.12/'>D++ Library version 9.0.12</a><a href='/9.0.11/'>D++ Library version 9.0.11</a><a href='/9.0.10/'>D++ Library version 9.0.10</a><a href='/9.0.9/'>D++ Library version 9.0.9</a><a href='/9.0.8/'>D++ Library version 9.0.8</a><a href='/9.0.7/'>D++ Library version 9.0.7</a><a href='/9.0.6/'>D++ Library version 9.0.6</a><a href='/9.0.5/'>D++ Library version 9.0.5</a><a href='/9.0.4/'>D++ Library version 9.0.4</a><a href='/9.0.3/'>D++ Library version 9.0.3</a><a href='/9.0.2/'>D++ Library version 9.0.2</a><a href='/9.0.1/'>D++ Library version 9.0.1</a><a href='/9.0.0/'>D++ Library version 9.0.0</a><a href='/1.0.2/'>D++ Library version 1.0.2</a><a href='/1.0.1/'>D++ Library version 1.0.1</a><a href='/1.0.0/'>D++ Library version 1.0.0</a>
</div>
</body>
</html>