├── assets └── LINE-sm.png ├── README.md ├── LICENSE └── line.thrift /assets/LINE-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fadhiilrachman/line-protocol/HEAD/assets/LINE-sm.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ![logo](/assets/LINE-sm.png) LINE Protocol 2 | [![LICENSE](https://img.shields.io/badge/license-GPL%203.0-blue.svg "LICENSE")](https://github.com/fadhiilrachman/line-protocol/blob/master/LICENSE) [![Chat on Discord](https://discordapp.com/api/guilds/370888828489170956/widget.png "Chat on Discord")](https://discord.gg/JAA2uk6) 3 | 4 | *LINE Messaging's private protocol* 5 | 6 | ---- 7 | 8 | This work is **no way** affiliated with LINE Corporation or Naver. These files are the results of research into the LINE Messaging protocol. 9 | 10 | ## Special Thanks 11 | - Matti Virkkunen / [@mvirkkunen](https://github.com/mvirkkunen) 12 | - ぐるぐる / [@f0reachARR](https://github.com/f0reachARR) 13 | - GoogleX133 / [@GoogleX133](https://github.com/GoogleX133) 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /line.thrift: -------------------------------------------------------------------------------- 1 | enum ApplicationType { 2 | IOS = 16; 3 | IOS_RC = 17; 4 | IOS_BETA = 18; 5 | IOS_ALPHA = 19; 6 | ANDROID = 32; 7 | ANDROID_RC = 33; 8 | ANDROID_BETA = 34; 9 | ANDROID_ALPHA = 35; 10 | WAP = 48; 11 | WAP_RC = 49; 12 | WAP_BETA = 50; 13 | WAP_ALPHA = 51; 14 | BOT = 64; 15 | BOT_RC = 65; 16 | BOT_BETA = 66; 17 | BOT_ALPHA = 67; 18 | WEB = 80; 19 | WEB_RC = 81; 20 | WEB_BETA = 82; 21 | WEB_ALPHA = 83; 22 | DESKTOPWIN = 96; 23 | DESKTOPWIN_RC = 97; 24 | DESKTOPWIN_BETA = 98; 25 | DESKTOPWIN_ALPHA = 99; 26 | DESKTOPMAC = 112; 27 | DESKTOPMAC_RC = 113; 28 | DESKTOPMAC_BETA = 114; 29 | DESKTOPMAC_ALPHA = 115; 30 | CHANNELGW = 128; 31 | CHANNELGW_RC = 129; 32 | CHANNELGW_BETA = 130; 33 | CHANNELGW_ALPHA = 131; 34 | CHANNELCP = 144; 35 | CHANNELCP_RC = 145; 36 | CHANNELCP_BETA = 146; 37 | CHANNELCP_ALPHA = 147; 38 | WINPHONE = 160; 39 | WINPHONE_RC = 161; 40 | WINPHONE_BETA = 162; 41 | WINPHONE_ALPHA = 163; 42 | BLACKBERRY = 176; 43 | BLACKBERRY_RC = 177; 44 | BLACKBERRY_BETA = 178; 45 | BLACKBERRY_ALPHA = 179; 46 | WINMETRO = 192; 47 | WINMETRO_RC = 193; 48 | WINMETRO_BETA = 194; 49 | WINMETRO_ALPHA = 195; 50 | S40 = 208; 51 | S40_RC = 209; 52 | S40_BETA = 210; 53 | S40_ALPHA = 211; 54 | CHRONO = 224; 55 | CHRONO_RC = 225; 56 | CHRONO_BETA = 226; 57 | CHRONO_ALPHA = 227; 58 | TIZEN = 256; 59 | TIZEN_RC = 257; 60 | TIZEN_BETA = 258; 61 | TIZEN_ALPHA = 259; 62 | VIRTUAL = 272; 63 | FIREFOXOS = 288; 64 | FIREFOXOS_RC = 289; 65 | FIREFOXOS_BETA = 290; 66 | FIREFOXOS_ALPHA = 291; 67 | IOSIPAD = 304; 68 | IOSIPAD_RC = 305; 69 | IOSIPAD_BETA = 306; 70 | IOSIPAD_ALPHA = 307; 71 | BIZIOS = 320; 72 | BIZIOS_RC = 321; 73 | BIZIOS_BETA = 322; 74 | BIZIOS_ALPHA = 323; 75 | BIZANDROID = 336; 76 | BIZANDROID_RC = 337; 77 | BIZANDROID_BETA = 338; 78 | BIZANDROID_ALPHA = 339; 79 | BIZBOT = 352; 80 | BIZBOT_RC = 353; 81 | BIZBOT_BETA = 354; 82 | BIZBOT_ALPHA = 355; 83 | CHROMEOS = 368; 84 | CHROMEOS_RC = 369; 85 | CHROMEOS_BETA = 370; 86 | CHROMEOS_ALPHA = 371; 87 | ANDROIDLITE = 384; 88 | ANDROIDLITE_RC = 385; 89 | ANDROIDLITE_BETA = 386; 90 | ANDROIDLITE_ALPHA = 387; 91 | WIN10 = 400; 92 | WIN10_RC = 401; 93 | WIN10_BETA = 402; 94 | WIN10_ALPHA = 403; 95 | BIZWEB = 416; 96 | BIZWEB_RC = 417; 97 | BIZWEB_BETA = 418; 98 | BIZWEB_ALPHA = 419; 99 | DUMMYPRIMARY = 432; 100 | DUMMYPRIMARY_RC = 433; 101 | DUMMYPRIMARY_BETA = 434; 102 | DUMMYPRIMARY_ALPHA = 435; 103 | SQUARE = 448; 104 | SQUARE_RC = 449; 105 | SQUARE_BETA = 450; 106 | SQUARE_ALPHA = 451; 107 | INTERNAL = 464; 108 | INTERNAL_RC = 465; 109 | INTERNAL_BETA = 466; 110 | INTERNAL_ALPHA = 467; 111 | CLOVAFRIENDS = 480; 112 | CLOVAFRIENDS_RC = 481; 113 | CLOVAFRIENDS_BETA = 482; 114 | CLOVAFRIENDS_ALPHA = 483; 115 | } 116 | 117 | enum ExtendedProfileAttribute { 118 | # Error? ExtendedProfileAttribute.java 119 | } 120 | 121 | enum PrivacyLevelType { 122 | PUBLIC = 0; 123 | PRIVATE = 1; 124 | } 125 | 126 | enum PaidCallerIdStatus { 127 | NOT_SPECIFIED = 0, 128 | VALID = 1, 129 | VERIFICATION_REQUIRED = 2, 130 | NOT_PERMITTED = 3, 131 | LIMIT_EXCEEDED = 4, 132 | LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED = 5, 133 | } 134 | 135 | enum PaidCallProductType { 136 | COIN = 0; 137 | CREDIT = 1; 138 | MONTHLY = 2; 139 | } 140 | 141 | enum PaidCallType { 142 | OUT = 0; 143 | IN = 1; 144 | TOLLFREE = 2; 145 | RECORD = 3; 146 | AD = 4; 147 | CS = 5; 148 | } 149 | 150 | enum BotType { 151 | RESERVED = 0; 152 | OFFICIAL = 1; 153 | LINE_AT_0 = 2; 154 | LINE_AT = 3; 155 | } 156 | 157 | enum BuddyOnAirLabel { 158 | ON_AIR = 0; 159 | LIVE = 1; 160 | } 161 | 162 | enum BuddyBannerLinkType { 163 | BUDDY_BANNER_LINK_HIDDEN = 0; 164 | BUDDY_BANNER_LINK_MID = 1; 165 | BUDDY_BANNER_LINK_URL = 2; 166 | } 167 | 168 | enum BuddyOnAirType { 169 | NORMAL = 0; 170 | LIVE = 1; 171 | VOIP = 2; 172 | } 173 | 174 | enum Diff { 175 | ADDED = 0; 176 | UPDATED = 1; 177 | REMOVED = 2; 178 | } 179 | 180 | enum ReportType { 181 | ADVERTISING = 1; 182 | GENDER_HARASSMENT = 2; 183 | HARASSMENT = 3; 184 | OTHER = 4; 185 | } 186 | 187 | enum SyncTriggerReason { 188 | OTHER = 0; 189 | REVISION_GAP_TOO_LARGE = 1; 190 | OPERATION_EXPIRED = 2; 191 | } 192 | 193 | enum ReportCategory { 194 | PUSH_NORMAL_PLAIN = 0; 195 | PUSH_NORMAL_E2EE = 1; 196 | PUSH_VOIP_PLAIN = 2; 197 | PUSH_VOIP_E2EE = 3; 198 | } 199 | 200 | enum BuddyResultState { 201 | ACCEPTED = 1; 202 | SUCCEEDED = 2; 203 | FAILED = 3; 204 | CANCELLED = 4; 205 | NOTIFY_FAILED = 5; 206 | STORING = 11; 207 | UPLOADING = 21; 208 | NOTIFYING = 31; 209 | REMOVING_SUBSCRIPTION = 41; 210 | UNREGISTERING_ACCOUNT = 42; 211 | NOTIFYING_LEAVE_CHAT = 43; 212 | } 213 | 214 | enum BuddySearchRequestSource { 215 | NA = 0; 216 | FRIEND_VIEW = 1; 217 | OFFICIAL_ACCOUNT_VIEW = 2; 218 | } 219 | 220 | enum CarrierCode { 221 | NOT_SPECIFIED = 0; 222 | JP_DOCOMO = 1; 223 | JP_AU = 2; 224 | JP_SOFTBANK = 3; 225 | JP_DOCOMO_LINE = 4; 226 | KR_SKT = 17; 227 | KR_KT = 18; 228 | KR_LGT = 19; 229 | } 230 | 231 | enum ChannelConfiguration { 232 | MESSAGE = 0; 233 | MESSAGE_NOTIFICATION = 1; 234 | NOTIFICATION_CENTER = 2; 235 | } 236 | 237 | enum ChannelPermission { 238 | PROFILE = 0; 239 | FRIENDS = 1; 240 | GROUP = 2; 241 | } 242 | 243 | enum ChannelFeatureLicense { 244 | BLE_LCS_API_USABLE = 26; 245 | PROHIBIT_MINIMIZE_CHANNEL_BROWSER = 27; 246 | ALLOW_IOS_WEBKIT = 28; 247 | } 248 | 249 | enum ChannelErrorCode { 250 | ILLEGAL_ARGUMENT = 0; 251 | INTERNAL_ERROR = 1; 252 | CONNECTION_ERROR = 2; 253 | AUTHENTICATIONI_FAILED = 3; 254 | NEED_PERMISSION_APPROVAL = 4; 255 | COIN_NOT_USABLE = 5; 256 | WEBVIEW_NOT_ALLOWED = 6; 257 | } 258 | 259 | enum ChannelSyncType { 260 | SYNC = 0; 261 | REMOVE = 1; 262 | REMOVE_ALL = 2; 263 | } 264 | 265 | enum LoginType { 266 | ID_CREDENTIAL = 0; 267 | QRCODE = 1; 268 | ID_CREDENTIAL_WITH_E2EE = 2; 269 | } 270 | 271 | enum ContactAttribute { 272 | CONTACT_ATTRIBUTE_CAPABLE_VOICE_CALL = 1; 273 | CONTACT_ATTRIBUTE_CAPABLE_VIDEO_CALL = 2; 274 | CONTACT_ATTRIBUTE_CAPABLE_MY_HOME = 16; 275 | CONTACT_ATTRIBUTE_CAPABLE_BUDDY = 32; 276 | } 277 | 278 | enum ContactCategory { 279 | NORMAL = 0; 280 | RECOMMEND = 1; 281 | } 282 | 283 | enum ContactRelation { 284 | ONEWAY = 0; 285 | BOTH = 1; 286 | NOT_REGISTERED = 2; 287 | } 288 | 289 | enum AsymmetricKeyAlgorithm { 290 | ASYMMETRIC_KEY_ALGORITHM_RSA = 1; 291 | ASYMMETRIC_KEY_ALGORITHM_ECDH = 2; 292 | } 293 | 294 | enum ContactSetting { 295 | CONTACT_SETTING_NOTIFICATION_DISABLE = 1; 296 | CONTACT_SETTING_DISPLAY_NAME_OVERRIDE = 2; 297 | CONTACT_SETTING_CONTACT_HIDE = 4; 298 | CONTACT_SETTING_FAVORITE = 8; 299 | CONTACT_SETTING_DELETE = 16; 300 | } 301 | 302 | enum ContactStatus { 303 | UNSPECIFIED = 0; 304 | FRIEND = 1; 305 | FRIEND_BLOCKED = 2; 306 | RECOMMEND = 3; 307 | RECOMMEND_BLOCKED = 4; 308 | DELETED = 5; 309 | DELETED_BLOCKED = 6; 310 | } 311 | 312 | enum ContactType { 313 | MID = 0; 314 | PHONE = 1; 315 | EMAIL = 2; 316 | USERID = 3; 317 | PROXIMITY = 4; 318 | GROUP = 5; 319 | USER = 6; 320 | QRCODE = 7; 321 | PROMOTION_BOT = 8; 322 | CONTACT_MESSAGE = 9; 323 | FRIEND_REQUEST = 10; 324 | REPAIR = 128; 325 | FACEBOOK = 2305; 326 | SINA = 2306; 327 | RENREN = 2307; 328 | FEIXIN = 2308; 329 | BBM = 2309; 330 | BEACON = 11; 331 | } 332 | 333 | enum GroupPreferenceAttribute { 334 | INVITATION_TICKET = 1; 335 | FAVORITE_TIMESTAMP = 2; 336 | } 337 | 338 | enum ContentType { 339 | NONE = 0; 340 | IMAGE = 1; 341 | VIDEO = 2; 342 | AUDIO = 3; 343 | HTML = 4; 344 | PDF = 5; 345 | CALL = 6; 346 | STICKER = 7; 347 | PRESENCE = 8; 348 | GIFT = 9; 349 | GROUPBOARD = 10; 350 | APPLINK = 11; 351 | LINK = 12; 352 | CONTACT = 13; 353 | FILE = 14; 354 | LOCATION = 15; 355 | POSTNOTIFICATION = 16; 356 | RICH = 17; 357 | CHATEVENT = 18; 358 | MUSIC = 19; 359 | PAYMENT = 20; 360 | EXTIMAGE = 21; 361 | } 362 | 363 | enum MessageRelationType { 364 | FORWARD = 0; 365 | AUTO_REPLY = 1; 366 | SUBORDINATE = 2; 367 | } 368 | 369 | enum CustomMode { 370 | PROMOTION_FRIENDS_INVITE = 1; 371 | CAPABILITY_SERVER_SIDE_SMS = 2; 372 | LINE_CLIENT_ANALYTICS_CONFIGURATION = 3; 373 | } 374 | 375 | enum RoomAttribute { 376 | ALL = 255; 377 | NOTIFICATION_SETTING = 1; 378 | } 379 | 380 | enum UserStatus { 381 | NORMAL = 0; 382 | UNBOUND = 1; 383 | UNREGISTERED = 2; 384 | } 385 | 386 | enum EmailConfirmationStatus { 387 | NOT_SPECIFIED = 0; 388 | NOT_YET = 1; 389 | DONE = 3; 390 | NEED_ENFORCED_INPUT = 4; 391 | } 392 | 393 | enum AccountMigrationPincodeType { 394 | NOT_APPLICABLE = 0; 395 | NOT_SET = 1; 396 | SET = 2; 397 | NEED_ENFORCED_INPUT = 3; 398 | } 399 | 400 | enum AccountMigrationCheckType { 401 | SKIP = 0; 402 | PINCODE = 1; 403 | SECURITY_CENTER = 2; 404 | } 405 | 406 | enum SecurityCenterSettingsType { 407 | NOT_APPLICABLE = 0; 408 | NOT_SET = 1; 409 | SET = 2; 410 | NEED_ENFORCED_INPUT = 3; 411 | } 412 | 413 | enum EmailConfirmationType { 414 | SERVER_SIDE_EMAIL = 0; 415 | CLIENT_SIDE_EMAIL = 1; 416 | } 417 | 418 | enum SquareChatAnnouncementType { 419 | TEXT_MESSAGE = 0; 420 | } 421 | 422 | enum SquareChatAttribute { 423 | NAME = 2; 424 | SQUARE_CHAT_IMAGE = 3; 425 | STATE = 4; 426 | } 427 | 428 | enum SquareMemberAttribute { 429 | DISPLAY_NAME = 1; 430 | PROFILE_IMAGE = 2; 431 | ABLE_TO_RECEIVE_MESSAGE = 3; 432 | MEMBERSHIP_STATE = 5; 433 | ROLE = 6; 434 | PREFERENCE = 7; 435 | } 436 | 437 | enum SquareMemberRelationAttribute { 438 | BLOCKED = 1; 439 | } 440 | 441 | enum SquarePreferenceAttribute { 442 | FAVORITE = 1; 443 | NOTI_FOR_NEW_JOIN_REQUEST = 2; 444 | } 445 | 446 | enum SquareState { 447 | ALIVE = 0; 448 | DELETED = 1; 449 | SUSPENDED = 2; 450 | } 451 | 452 | enum CommitMessageResultCode { 453 | DELIVERED = 0, 454 | DELIVERY_SKIPPED = 1, 455 | DELIVERY_RESTRICTED = 2, 456 | } 457 | 458 | enum ErrorCode { 459 | ILLEGAL_ARGUMENT = 0; 460 | AUTHENTICATION_FAILED = 1; 461 | DB_FAILED = 2; 462 | INVALID_STATE = 3; 463 | EXCESSIVE_ACCESS = 4; 464 | NOT_FOUND = 5; 465 | INVALID_MID = 9; 466 | NOT_A_MEMBER = 10; 467 | INVALID_LENGTH = 6; 468 | NOT_AVAILABLE_USER = 7; 469 | NOT_AUTHORIZED_DEVICE = 8; 470 | NOT_AUTHORIZED_SESSION = 14; 471 | INCOMPATIBLE_APP_VERSION = 11; 472 | NOT_READY = 12; 473 | NOT_AVAILABLE_SESSION = 13; 474 | SYSTEM_ERROR = 15; 475 | NO_AVAILABLE_VERIFICATION_METHOD = 16; 476 | NOT_AUTHENTICATED = 17; 477 | INVALID_IDENTITY_CREDENTIAL = 18; 478 | NOT_AVAILABLE_IDENTITY_IDENTIFIER = 19; 479 | INTERNAL_ERROR = 20; 480 | NO_SUCH_IDENTITY_IDENFIER = 21; 481 | DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY = 22; 482 | ILLEGAL_IDENTITY_CREDENTIAL = 23; 483 | UNKNOWN_CHANNEL = 24; 484 | NO_SUCH_MESSAGE_BOX = 25; 485 | NOT_AVAILABLE_MESSAGE_BOX = 26; 486 | CHANNEL_DOES_NOT_MATCH = 27; 487 | NOT_YOUR_MESSAGE = 28; 488 | MESSAGE_DEFINED_ERROR = 29; 489 | USER_CANNOT_ACCEPT_PRESENTS = 30; 490 | USER_NOT_STICKER_OWNER = 32; 491 | MAINTENANCE_ERROR = 33; 492 | ACCOUNT_NOT_MATCHED = 34; 493 | ABUSE_BLOCK = 35; 494 | NOT_FRIEND = 36; 495 | NOT_ALLOWED_CALL = 37; 496 | BLOCK_FRIEND = 38; 497 | INCOMPATIBLE_VOIP_VERSION = 39; 498 | INVALID_SNS_ACCESS_TOKEN = 40; 499 | EXTERNAL_SERVICE_NOT_AVAILABLE = 41; 500 | NOT_ALLOWED_ADD_CONTACT = 42; 501 | NOT_CERTIFICATED = 43; 502 | NOT_ALLOWED_SECONDARY_DEVICE = 44; 503 | INVALID_PIN_CODE = 45; 504 | NOT_FOUND_IDENTITY_CREDENTIAL = 46; 505 | EXCEED_FILE_MAX_SIZE = 47; 506 | EXCEED_DAILY_QUOTA = 48; 507 | NOT_SUPPORT_SEND_FILE = 49; 508 | MUST_UPGRADE = 50; 509 | NOT_AVAILABLE_PIN_CODE_SESSION = 51; 510 | EXPIRED_REVISION = 52; 511 | NOT_YET_PHONE_NUMBER = 54; 512 | BAD_CALL_NUMBER = 55; 513 | UNAVAILABLE_CALL_NUMBER = 56; 514 | NOT_SUPPORT_CALL_SERVICE = 57; 515 | CONGESTION_CONTROL = 58; 516 | NO_BALANCE = 59; 517 | NOT_PERMITTED_CALLER_ID = 60; 518 | NO_CALLER_ID_LIMIT_EXCEEDED = 61; 519 | CALLER_ID_VERIFICATION_REQUIRED = 62; 520 | NO_CALLER_ID_LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED = 63; 521 | MESSAGE_NOT_FOUND = 64; 522 | INVALID_ACCOUNT_MIGRATION_PINCODE_FORMAT = 65; 523 | ACCOUNT_MIGRATION_PINCODE_NOT_MATCHED = 66; 524 | ACCOUNT_MIGRATION_PINCODE_BLOCKED = 67; 525 | INVALID_PASSWORD_FORMAT = 69; 526 | FEATURE_RESTRICTED = 70; 527 | MESSAGE_NOT_DESTRUCTIBLE = 71; 528 | PAID_CALL_REDEEM_FAILED = 72; 529 | PREVENTED_JOIN_BY_TICKET = 73; 530 | SEND_MESSAGE_NOT_PERMITTED_FROM_LINE_AT = 75; 531 | SEND_MESSAGE_NOT_PERMITTED_WHILE_AUTO_REPLY = 76; 532 | SECURITY_CENTER_NOT_VERIFIED = 77; 533 | SECURITY_CENTER_BLOCKED_BY_SETTING = 78; 534 | SECURITY_CENTER_BLOCKED = 79; 535 | TALK_PROXY_EXCEPTION = 80; 536 | E2EE_INVALID_PROTOCOL = 81; 537 | E2EE_RETRY_ENCRYPT = 82; 538 | E2EE_UPDATE_SENDER_KEY = 83; 539 | E2EE_UPDATE_RECEIVER_KEY = 84; 540 | E2EE_INVALID_ARGUMENT = 85; 541 | E2EE_INVALID_VERSION = 86; 542 | E2EE_SENDER_DISABLED = 87; 543 | E2EE_RECEIVER_DISABLED = 88; 544 | E2EE_SENDER_NOT_ALLOWED = 89; 545 | E2EE_RECEIVER_NOT_ALLOWED = 90; 546 | E2EE_RESEND_FAIL = 91; 547 | E2EE_RESEND_OK = 92; 548 | HITOKOTO_BACKUP_NO_AVAILABLE_DATA = 93; 549 | E2EE_UPDATE_PRIMARY_DEVICE = 94; 550 | SUCCESS = 95; 551 | CANCEL = 96; 552 | E2EE_PRIMARY_NOT_SUPPORT = 97; 553 | E2EE_RETRY_PLAIN = 98; 554 | E2EE_RECREATE_GROUP_KEY = 99; 555 | E2EE_GROUP_TOO_MANY_MEMBERS = 100; 556 | SERVER_BUSY = 101; 557 | NOT_ALLOWED_ADD_FOLLOW = 102; 558 | INCOMING_FRIEND_REQUEST_LIMIT = 103; 559 | OUTGOING_FRIEND_REQUEST_LIMIT = 104; 560 | OUTGOING_FRIEND_REQUEST_QUOTA = 105; 561 | DUPLICATED = 106; 562 | BANNED = 107; 563 | } 564 | 565 | enum FeatureType { 566 | OBS_VIDEO = 1; 567 | OBS_GENERAL = 2; 568 | } 569 | 570 | enum GroupAttribute { 571 | NAME = 1; 572 | PICTURE_STATUS = 2; 573 | ALL = 255; 574 | PREVENTED_JOIN_BY_TICKET = 4; 575 | NOTIFICATION_SETTING = 8; 576 | } 577 | 578 | enum IdentityProvider { 579 | UNKNOWN = 0; 580 | LINE = 1; 581 | NAVER_KR = 2; 582 | LINE_PHONE = 3; 583 | } 584 | 585 | enum LoginResultType { 586 | SUCCESS = 1; 587 | REQUIRE_QRCODE = 2; 588 | REQUIRE_DEVICE_CONFIRM = 3; 589 | REQUIRE_SMS_CONFIRM = 4; 590 | } 591 | 592 | enum MessageOperationType { 593 | SEND_MESSAGE = 1; 594 | RECEIVE_MESSAGE = 2; 595 | READ_MESSAGE = 3; 596 | NOTIFIED_READ_MESSAGE = 4; 597 | NOTIFIED_JOIN_CHAT = 5; 598 | FAILED_SEND_MESSAGE = 6; 599 | SEND_CONTENT = 7; 600 | SEND_CONTENT_RECEIPT = 8; 601 | SEND_CHAT_REMOVED = 9; 602 | REMOVE_ALL_MESSAGES = 10; 603 | } 604 | 605 | enum MIDType { 606 | USER = 0; 607 | ROOM = 1; 608 | GROUP = 2; 609 | SQUARE = 3; 610 | SQUARE_CHAT = 4; 611 | SQUARE_MEMBER = 5; 612 | BOT = 6; 613 | } 614 | 615 | enum ServiceCode { 616 | UNKNOWN = 0; 617 | TALK = 1; 618 | SQUARE = 2; 619 | } 620 | 621 | enum FriendRequestDirection { 622 | INCOMING = 1; 623 | OUTGOING = 2; 624 | } 625 | 626 | enum FriendRequestMethod { 627 | TIMELINE = 1; 628 | NEARBY = 2; 629 | SQUARE = 3; 630 | } 631 | 632 | enum FriendRequestStatus { 633 | NONE = 0; 634 | AVAILABLE = 1; 635 | ALREADY_REQUESTED = 2; 636 | UNAVAILABLE = 3; 637 | } 638 | 639 | enum ModificationType { 640 | ADD = 0; 641 | REMOVE = 1; 642 | MODIFY = 2; 643 | } 644 | 645 | enum NotificationItemFetchMode { 646 | ALL = 0; 647 | APPEND = 1; 648 | } 649 | 650 | enum NotificationQueueType { 651 | GLOBAL = 1; 652 | MESSAGE = 2; 653 | PRIMARY = 3; 654 | } 655 | 656 | enum GroupCallMediaType { 657 | AUDIO = 1; 658 | VIDEO = 2; 659 | } 660 | 661 | enum PersonalInfo { 662 | EMAIL = 0; 663 | PHONE = 1; 664 | BIRTHDAY = 2; 665 | RAW_BIRTHDAY = 3; 666 | } 667 | 668 | enum NotificationStatus { 669 | NOTIFICATION_ITEM_EXIST = 1; 670 | TIMELINE_ITEM_EXIST = 2; 671 | NOTE_GROUP_NEW_ITEM_EXIST = 4; 672 | TIMELINE_BUDDYGROUP_CHANGED = 8; 673 | NOTE_ONE_TO_ONE_NEW_ITEM_EXIST = 16; 674 | ALBUM_ITEM_EXIST = 32; 675 | TIMELINE_ITEM_DELETED = 64; 676 | OTOGROUP_ITEM_EXIST = 128; 677 | GROUPHOME_NEW_ITEM_EXIST = 256; 678 | GROUPHOME_HIDDEN_ITEM_CHANGED = 512; 679 | NOTIFICATION_ITEM_CHANGED = 1024; 680 | BEAD_ITEM_HIDE = 2048; 681 | BEAD_ITEM_SHOW = 4096; 682 | } 683 | 684 | enum NotificationType { 685 | APPLE_APNS = 1; 686 | GOOGLE_C2DM = 2; 687 | NHN_NNI = 3; 688 | SKT_AOM = 4; 689 | MS_MPNS = 5; 690 | RIM_BIS = 6; 691 | GOOGLE_GCM = 7; 692 | NOKIA_NNAPI = 8; 693 | TIZEN = 9; 694 | LINE_BOT = 17; 695 | LINE_WAP = 18; 696 | APPLE_APNS_VOIP = 19; 697 | MS_WNS = 20; 698 | GOOGLE_FCM = 21; 699 | } 700 | 701 | enum OpStatus { 702 | NORMAL = 0; 703 | ALERT_DISABLED = 1; 704 | ALWAYS = 2; 705 | } 706 | 707 | enum OpType { 708 | END_OF_OPERATION = 0; 709 | UPDATE_PROFILE = 1; 710 | UPDATE_SETTINGS = 36; 711 | NOTIFIED_UPDATE_PROFILE = 2; 712 | REGISTER_USERID = 3; 713 | ADD_CONTACT = 4; 714 | NOTIFIED_ADD_CONTACT = 5; 715 | BLOCK_CONTACT = 6; 716 | UNBLOCK_CONTACT = 7; 717 | NOTIFIED_RECOMMEND_CONTACT = 8; 718 | CREATE_GROUP = 9; 719 | UPDATE_GROUP = 10; 720 | NOTIFIED_UPDATE_GROUP = 11; 721 | INVITE_INTO_GROUP = 12; 722 | NOTIFIED_INVITE_INTO_GROUP = 13; 723 | CANCEL_INVITATION_GROUP = 31; 724 | NOTIFIED_CANCEL_INVITATION_GROUP = 32; 725 | LEAVE_GROUP = 14; 726 | NOTIFIED_LEAVE_GROUP = 15; 727 | ACCEPT_GROUP_INVITATION = 16; 728 | NOTIFIED_ACCEPT_GROUP_INVITATION = 17; 729 | REJECT_GROUP_INVITATION = 34; 730 | NOTIFIED_REJECT_GROUP_INVITATION = 35; 731 | KICKOUT_FROM_GROUP = 18; 732 | NOTIFIED_KICKOUT_FROM_GROUP = 19; 733 | CREATE_ROOM = 20; 734 | INVITE_INTO_ROOM = 21; 735 | NOTIFIED_INVITE_INTO_ROOM = 22; 736 | LEAVE_ROOM = 23; 737 | NOTIFIED_LEAVE_ROOM = 24; 738 | SEND_MESSAGE = 25; 739 | RECEIVE_MESSAGE = 26; 740 | SEND_MESSAGE_RECEIPT = 27; 741 | RECEIVE_MESSAGE_RECEIPT = 28; 742 | SEND_CONTENT_RECEIPT = 29; 743 | RECEIVE_ANNOUNCEMENT = 30; 744 | NOTIFIED_UNREGISTER_USER = 33; 745 | INVITE_VIA_EMAIL = 38; 746 | NOTIFIED_REGISTER_USER = 37; 747 | NOTIFIED_REQUEST_RECOVERY = 39; 748 | SEND_CHAT_CHECKED = 40; 749 | SEND_CHAT_REMOVED = 41; 750 | NOTIFIED_FORCE_SYNC = 42; 751 | SEND_CONTENT = 43; 752 | SEND_MESSAGE_MYHOME = 44; 753 | NOTIFIED_UPDATE_CONTENT_PREVIEW = 45; 754 | REMOVE_ALL_MESSAGES = 46; 755 | NOTIFIED_UPDATE_PURCHASES = 47; 756 | DUMMY = 48; 757 | UPDATE_CONTACT = 49; 758 | NOTIFIED_RECEIVED_CALL = 50; 759 | CANCEL_CALL = 51; 760 | NOTIFIED_REDIRECT = 52; 761 | NOTIFIED_CHANNEL_SYNC = 53; 762 | FAILED_SEND_MESSAGE = 54; 763 | NOTIFIED_READ_MESSAGE = 55; 764 | FAILED_EMAIL_CONFIRMATION = 56; 765 | NOTIFIED_CHAT_CONTENT = 58; 766 | NOTIFIED_PUSH_NOTICENTER_ITEM = 59; 767 | NOTIFIED_JOIN_CHAT = 60; 768 | NOTIFIED_LEAVE_CHAT = 61; 769 | NOTIFIED_TYPING = 62; 770 | FRIEND_REQUEST_ACCEPTED = 63; 771 | DESTROY_MESSAGE = 64; 772 | NOTIFIED_DESTROY_MESSAGE = 65; 773 | UPDATE_PUBLICKEYCHAIN = 66; 774 | NOTIFIED_UPDATE_PUBLICKEYCHAIN = 67; 775 | NOTIFIED_BLOCK_CONTACT = 68; 776 | NOTIFIED_UNBLOCK_CONTACT = 69; 777 | UPDATE_GROUPPREFERENCE = 70; 778 | NOTIFIED_PAYMENT_EVENT = 71; 779 | REGISTER_E2EE_PUBLICKEY = 72; 780 | NOTIFIED_E2EE_KEY_EXCHANGE_REQ = 73; 781 | NOTIFIED_E2EE_KEY_EXCHANGE_RESP = 74; 782 | NOTIFIED_E2EE_MESSAGE_RESEND_REQ = 75; 783 | NOTIFIED_E2EE_MESSAGE_RESEND_RESP = 76; 784 | NOTIFIED_E2EE_KEY_UPDATE = 77; 785 | NOTIFIED_BUDDY_UPDATE_PROFILE = 78; 786 | NOTIFIED_UPDATE_LINEAT_TABS = 79; 787 | UPDATE_ROOM = 80; 788 | NOTIFIED_BEACON_DETECTED = 81; 789 | UPDATE_EXTENDED_PROFILE = 82; 790 | ADD_FOLLOW = 83; 791 | NOTIFIED_ADD_FOLLOW = 84; 792 | DELETE_FOLLOW = 85; 793 | NOTIFIED_DELETE_FOLLOW = 86; 794 | UPDATE_TIMELINE_SETTINGS = 87; 795 | NOTIFIED_FRIEND_REQUEST = 88; 796 | UPDATE_RINGBACK_TONE = 89; 797 | NOTIFIED_POSTBACK = 90; 798 | RECEIVE_READ_WATERMARK = 91; 799 | NOTIFIED_MESSAGE_DELIVERED = 92; 800 | NOTIFIED_UPDATE_CHAT_BAR = 93; 801 | NOTIFIED_CHATAPP_INSTALLED = 94; 802 | NOTIFIED_CHATAPP_UPDATED = 95; 803 | NOTIFIED_CHATAPP_NEW_MARK = 96; 804 | NOTIFIED_CHATAPP_DELETED = 97; 805 | NOTIFIED_CHATAPP_SYNC = 98; 806 | NOTIFIED_UPDATE_MESSAGE = 99; 807 | } 808 | 809 | enum PayloadType { 810 | PAYLOAD_BUY = 101; 811 | PAYLOAD_CS = 111; 812 | PAYLOAD_BONUS = 121; 813 | PAYLOAD_EVENT = 131; 814 | } 815 | 816 | enum PaymentPgType { 817 | PAYMENT_PG_NONE = 0; 818 | PAYMENT_PG_AU = 1; 819 | PAYMENT_PG_AL = 2; 820 | } 821 | 822 | enum PaymentType { 823 | PAYMENT_APPLE = 1; 824 | PAYMENT_GOOGLE = 2; 825 | } 826 | 827 | enum ProductBannerLinkType { 828 | BANNER_LINK_NONE = 0; 829 | BANNER_LINK_ITEM = 1; 830 | BANNER_LINK_URL = 2; 831 | BANNER_LINK_CATEGORY = 3; 832 | } 833 | 834 | enum ProductEventType { 835 | NO_EVENT = 0; 836 | CARRIER_ANY = 65537; 837 | BUDDY_ANY = 131073; 838 | INSTALL_IOS = 196609; 839 | INSTALL_ANDROID = 196610; 840 | MISSION_ANY = 262145; 841 | MUSTBUY_ANY = 327681; 842 | } 843 | 844 | enum StickerResourceType { 845 | STATIC = 1; 846 | ANIMATION = 2; 847 | SOUND = 3; 848 | ANIMATION_SOUND = 4; 849 | POPUP = 5; 850 | POPUP_SOUND = 6; 851 | } 852 | 853 | enum PlaceSearchProvider { 854 | GOOGLE = 0; 855 | BAIDU = 1; 856 | } 857 | 858 | enum PointErrorCode { 859 | REQUEST_DUPLICATION = 3001; 860 | INVALID_PARAMETER = 3002; 861 | NOT_ENOUGH_BALANCE = 3003; 862 | AUTHENTICATION_FAIL = 3004; 863 | API_ACCESS_FORBIDDEN = 3005; 864 | MEMBER_ACCOUNT_NOT_FOUND = 3006; 865 | SERVICE_ACCOUNT_NOT_FOUND = 3007; 866 | TRANSACTION_NOT_FOUND = 3008; 867 | ALREADY_REVERSED_TRANSACTION = 3009; 868 | MESSAGE_NOT_READABLE = 3010; 869 | HTTP_REQUEST_METHOD_NOT_SUPPORTED = 3011; 870 | HTTP_MEDIA_TYPE_NOT_SUPPORTED = 3012; 871 | NOT_ALLOWED_TO_DEPOSIT = 3013; 872 | NOT_ALLOWED_TO_PAY = 3014; 873 | TRANSACTION_ACCESS_FORBIDDEN = 3015; 874 | INVALID_SERVICE_CONFIGURATION = 4001; 875 | DCS_COMMUNICATION_FAIL = 5004; 876 | UPDATE_BALANCE_FAIL = 5007; 877 | SYSTEM_ERROR = 5999; 878 | SYSTEM_MAINTENANCE = 5888; 879 | } 880 | 881 | enum ProfileAttribute { 882 | ALL = 511; 883 | EMAIL = 1; 884 | DISPLAY_NAME = 2; 885 | PHONETIC_NAME = 4; 886 | PICTURE = 8; 887 | STATUS_MESSAGE = 16; 888 | ALLOW_SEARCH_BY_USERID = 32; 889 | ALLOW_SEARCH_BY_EMAIL = 64; 890 | BUDDY_STATUS = 128; 891 | MUSIC_PROFILE = 256; 892 | } 893 | 894 | enum PublicType { 895 | HIDDEN = 0; 896 | PUBLIC = 1000; 897 | } 898 | 899 | enum RedirectType { 900 | NONE = 0; 901 | EXPIRE_SECOND = 1; 902 | } 903 | 904 | enum RegistrationType { 905 | PHONE = 0; 906 | EMAIL_WAP = 1; 907 | FACEBOOK = 2305; 908 | SINA = 2306; 909 | RENREN = 2307; 910 | FEIXIN = 2308; 911 | } 912 | 913 | enum ChatRoomAnnouncementType { 914 | MESSAGE = 0; 915 | NOTE = 1; 916 | } 917 | 918 | enum SettingsAttribute { 919 | ALL = 2147483647; 920 | NOTIFICATION_ENABLE = 1; 921 | NOTIFICATION_MUTE_EXPIRATION = 2; 922 | NOTIFICATION_NEW_MESSAGE = 4; 923 | NOTIFICATION_GROUP_INVITATION = 8; 924 | NOTIFICATION_SHOW_MESSAGE = 16; 925 | NOTIFICATION_INCOMING_CALL = 32; 926 | NOTIFICATION_SOUND_MESSAGE = 256; 927 | NOTIFICATION_SOUND_GROUP = 512; 928 | NOTIFICATION_DISABLED_WITH_SUB = 65536; 929 | NOTIFICATION_PAYMENT = 131072; 930 | PRIVACY_SYNC_CONTACTS = 64; 931 | PRIVACY_SEARCH_BY_PHONE_NUMBER = 128; 932 | PRIVACY_SEARCH_BY_USERID = 8192; 933 | PRIVACY_SEARCH_BY_EMAIL = 16384; 934 | PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 2097152; 935 | PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 8388608; 936 | PRIVACY_ALLOW_FRIEND_REQUEST = 1073741824; 937 | PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 33554432; 938 | PRIVACY_AGREE_USE_LINECOIN_TO_PAIDCALL = 67108864; 939 | PRIVACY_AGREE_USE_PAIDCALL = 134217728; 940 | CONTACT_MY_TICKET = 1024; 941 | IDENTITY_PROVIDER = 2048; 942 | IDENTITY_IDENTIFIER = 4096; 943 | SNS_ACCOUNT = 524288; 944 | PHONE_REGISTRATION = 1048576; 945 | PREFERENCE_LOCALE = 32768; 946 | CUSTOM_MODE = 4194304; 947 | EMAIL_CONFIRMATION_STATUS = 16777216; 948 | ACCOUNT_MIGRATION_PINCODE = 268435456; 949 | ENFORCED_INPUT_ACCOUNT_MIGRATION_PINCODE = 536870912; 950 | SECURITY_CENTER_SETTINGS = 262144; 951 | } 952 | 953 | enum SettingsAttributeEx { 954 | NOTIFICATION_ENABLE = 0; 955 | NOTIFICATION_MUTE_EXPIRATION = 1; 956 | NOTIFICATION_NEW_MESSAGE = 2; 957 | NOTIFICATION_GROUP_INVITATION = 3; 958 | NOTIFICATION_SHOW_MESSAGE = 4; 959 | NOTIFICATION_INCOMING_CALL = 5; 960 | NOTIFICATION_SOUND_MESSAGE = 8; 961 | NOTIFICATION_SOUND_GROUP = 9; 962 | NOTIFICATION_DISABLED_WITH_SUB = 16; 963 | NOTIFICATION_PAYMENT = 17; 964 | NOTIFICATION_MENTION = 40; 965 | NOTIFICATION_THUMBNAIL = 45; 966 | PRIVACY_SYNC_CONTACTS = 6; 967 | PRIVACY_SEARCH_BY_PHONE_NUMBER = 7; 968 | PRIVACY_SEARCH_BY_USERID = 13; 969 | PRIVACY_SEARCH_BY_EMAIL = 14; 970 | PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 21; 971 | PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 23; 972 | PRIVACY_PROFILE_MUSIC_POST_TO_MYHOME = 35; 973 | PRIVACY_ALLOW_FRIEND_REQUEST = 30; 974 | PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 25; 975 | PRIVACY_AGREE_USE_LINECOIN_TO_PAIDCALL = 26; 976 | PRIVACY_AGREE_USE_PAIDCALL = 27; 977 | CONTACT_MY_TICKET = 10; 978 | IDENTITY_PROVIDER = 11; 979 | IDENTITY_IDENTIFIER = 12; 980 | SNS_ACCOUNT = 19; 981 | PHONE_REGISTRATION = 20; 982 | PREFERENCE_LOCALE = 15; 983 | CUSTOM_MODE = 22; 984 | EMAIL_CONFIRMATION_STATUS = 24; 985 | ACCOUNT_MIGRATION_PINCODE = 28; 986 | ENFORCED_INPUT_ACCOUNT_MIGRATION_PINCODE = 29; 987 | SECURITY_CENTER_SETTINGS = 18; 988 | E2EE_ENABLE = 33; 989 | ENABLE_SOUND_TO_TEXT = 47; 990 | HITOKOTO_BACKUP_REQUESTED = 34; 991 | CONTACT_ALLOW_FOLLOWING = 36; 992 | PRIVACY_ALLOW_NEARBY = 37; 993 | AGREEMENT_NEARBY = 38; 994 | AGREEMENT_SQUARE = 39; 995 | ALLOW_UNREGISTRATION_SECONDARY_DEVICE = 41; 996 | AGREEMENT_BOT_USE = 42; 997 | AGREEMENT_SHAKE_FUNCTION = 43; 998 | AGREEMENT_MOBILE_CONTACT_NAME = 44; 999 | AGREEMENT_SOUND_TO_TEXT = 46; 1000 | } 1001 | 1002 | enum SnsIdType { 1003 | FACEBOOK = 1; 1004 | SINA = 2; 1005 | RENREN = 3; 1006 | FEIXIN = 4; 1007 | BBM = 5; 1008 | } 1009 | 1010 | enum SpammerReason { 1011 | OTHER = 0; 1012 | ADVERTISING = 1; 1013 | GENDER_HARASSMENT = 2; 1014 | HARASSMENT = 3; 1015 | } 1016 | 1017 | enum SyncActionType { 1018 | SYNC = 0; 1019 | REPORT = 1; 1020 | } 1021 | 1022 | enum SpotCategory { 1023 | UNKNOWN = 0; 1024 | GOURMET = 1; 1025 | BEAUTY = 2; 1026 | TRAVEL = 3; 1027 | SHOPPING = 4; 1028 | ENTERTAINMENT = 5; 1029 | SPORTS = 6; 1030 | TRANSPORT = 7; 1031 | LIFE = 8; 1032 | HOSPITAL = 9; 1033 | FINANCE = 10; 1034 | EDUCATION = 11; 1035 | OTHER = 12; 1036 | ALL = 10000; 1037 | } 1038 | 1039 | enum SyncCategory { 1040 | PROFILE = 0; 1041 | SETTINGS = 1; 1042 | OPS = 2; 1043 | CONTACT = 3; 1044 | RECOMMEND = 4; 1045 | BLOCK = 5; 1046 | GROUP = 6; 1047 | ROOM = 7; 1048 | NOTIFICATION = 8; 1049 | ADDRESS_BOOK = 9; 1050 | } 1051 | 1052 | enum TMessageBoxStatus { 1053 | ACTIVATED = 1; 1054 | UNREAD = 2; 1055 | } 1056 | 1057 | enum UniversalNotificationServiceErrorCode { 1058 | INTERNAL_ERROR = 0; 1059 | INVALID_KEY = 1; 1060 | ILLEGAL_ARGUMENT = 2; 1061 | TOO_MANY_REQUEST = 3; 1062 | AUTHENTICATION_FAILED = 4; 1063 | NO_WRITE_PERMISSION = 5; 1064 | } 1065 | 1066 | enum UnregistrationReason { 1067 | UNREGISTRATION_REASON_UNREGISTER_USER = 1; 1068 | UNREGISTRATION_REASON_UNBIND_DEVICE = 2; 1069 | } 1070 | 1071 | enum UserAgeType { 1072 | OVER = 1; 1073 | UNDER = 2; 1074 | UNDEFINED = 3; 1075 | } 1076 | 1077 | enum VerificationMethod { 1078 | NO_AVAILABLE = 0; 1079 | PIN_VIA_SMS = 1; 1080 | CALLERID_INDIGO = 2; 1081 | PIN_VIA_TTS = 4; 1082 | SKIP = 10; 1083 | } 1084 | 1085 | enum VerificationResult { 1086 | FAILED = 0; 1087 | OK_NOT_REGISTERED_YET = 1; 1088 | OK_REGISTERED_WITH_SAME_DEVICE = 2; 1089 | OK_REGISTERED_WITH_ANOTHER_DEVICE = 3; 1090 | } 1091 | 1092 | enum WapInvitationType { 1093 | REGISTRATION = 1; 1094 | CHAT = 2; 1095 | } 1096 | 1097 | enum MediaType { 1098 | AUDIO = 1; 1099 | VIDEO = 2; 1100 | } 1101 | 1102 | enum SQErrorCode { 1103 | UNKNOWN = 0; 1104 | ILLEGAL_ARGUMENT = 400; 1105 | AUTHENTICATION_FAILURE = 401; 1106 | FORBIDDEN = 403; 1107 | NOT_FOUND = 404; 1108 | REVISION_MISMATCH = 409; 1109 | PRECONDITION_FAILED = 410; 1110 | INTERNAL_ERROR = 500; 1111 | NOT_IMPLEMENTED = 501; 1112 | TRY_AGAIN_LATER = 505; 1113 | } 1114 | 1115 | enum SquareEventType { 1116 | RECEIVE_MESSAGE = 0; 1117 | SEND_MESSAGE = 1; 1118 | NOTIFIED_JOIN_SQUARE_CHAT = 2; 1119 | NOTIFIED_INVITE_INTO_SQUARE_CHAT = 3; 1120 | NOTIFIED_LEAVE_SQUARE_CHAT = 4; 1121 | NOTIFIED_DESTROY_MESSAGE = 5; 1122 | NOTIFIED_MARK_AS_READ = 6; 1123 | NOTIFIED_UPDATE_SQUARE_MEMBER_PROFILE = 7; 1124 | NOTIFIED_KICKOUT_FROM_SQUARE = 19; 1125 | NOTIFIED_SHUTDOWN_SQUARE = 18; 1126 | NOTIFIED_DELETE_SQUARE_CHAT = 20; 1127 | NOTIFIED_UPDATE_SQUARE_CHAT_PROFILE_NAME = 30; 1128 | NOTIFIED_UPDATE_SQUARE_CHAT_PROFILE_IMAGE = 31; 1129 | NOTIFIED_UPDATE_SQUARE_CHAT_ANNOUNCEMENT = 37; 1130 | NOTIFIED_ADD_BOT = 33; 1131 | NOTIFIED_REMOVE_BOT = 34; 1132 | NOTIFIED_UPDATE_SQUARE = 8; 1133 | NOTIFIED_UPDATE_SQUARE_STATUS = 9; 1134 | NOTIFIED_UPDATE_SQUARE_AUTHORITY = 10; 1135 | NOTIFIED_UPDATE_SQUARE_MEMBER = 11; 1136 | NOTIFIED_UPDATE_SQUARE_CHAT = 12; 1137 | NOTIFIED_UPDATE_SQUARE_CHAT_STATUS = 13; 1138 | NOTIFIED_UPDATE_SQUARE_CHAT_MEMBER = 14; 1139 | NOTIFIED_CREATE_SQUARE_MEMBER = 15; 1140 | NOTIFIED_CREATE_SQUARE_CHAT_MEMBER = 16; 1141 | NOTIFIED_UPDATE_SQUARE_MEMBER_RELATION = 17; 1142 | NOTIFIED_UPDATE_SQUARE_FEATURE_SET = 32; 1143 | NOTIFIED_UPDATE_SQUARE_NOTE_STATUS = 36; 1144 | NOTIFICATION_JOIN_REQUEST = 21; 1145 | NOTIFICATION_JOINED = 22; 1146 | NOTIFICATION_PROMOTED_COADMIN = 23; 1147 | NOTIFICATION_PROMOTED_ADMIN = 24; 1148 | NOTIFICATION_DEMOTED_MEMBER = 25; 1149 | NOTIFICATION_KICKED_OUT = 26; 1150 | NOTIFICATION_SQUARE_DELETE = 27; 1151 | NOTIFICATION_SQUARE_CHAT_DELETE = 28; 1152 | NOTIFICATION_MESSAGE = 29; 1153 | } 1154 | 1155 | enum SquareMemberRelationState { 1156 | NONE = 1; 1157 | BLOCKED = 2; 1158 | } 1159 | 1160 | enum SquareFeatureControlState { 1161 | DISABLED = 1; 1162 | ENABLED = 2; 1163 | } 1164 | 1165 | enum BooleanState { 1166 | NONE = 0; 1167 | OFF = 1; 1168 | ON = 2; 1169 | } 1170 | 1171 | enum SquareType { 1172 | CLOSED = 0; 1173 | OPEN = 1; 1174 | } 1175 | 1176 | enum SquareChatType { 1177 | OPEN = 1; 1178 | SECRET = 2; 1179 | ONE_ON_ONE = 3; 1180 | SQUARE_DEFAULT = 4; 1181 | } 1182 | 1183 | enum SquareErrorCode { 1184 | UNKNOWN = 0; 1185 | INTERNAL_ERROR = 500; 1186 | NOT_IMPLEMENTED = 501; 1187 | TRY_AGAIN_LATER = 503; 1188 | MAINTENANCE = 505; 1189 | ILLEGAL_ARGUMENT = 400; 1190 | AUTHENTICATION_FAILURE = 401; 1191 | FORBIDDEN = 403; 1192 | NOT_FOUND = 404; 1193 | REVISION_MISMATCH = 409; 1194 | PRECONDITION_FAILED = 410; 1195 | } 1196 | 1197 | enum SquareChatState { 1198 | ALIVE = 0; 1199 | DELETED = 1; 1200 | SUSPENDED = 2; 1201 | } 1202 | 1203 | enum SquareFeatureSetAttribute { 1204 | CREATING_SECRET_SQUARE_CHAT = 1; 1205 | INVITING_INTO_OPEN_SQUARE_CHAT = 2; 1206 | } 1207 | 1208 | enum SquareMembershipState { 1209 | JOIN_REQUESTED = 1; 1210 | JOINED = 2; 1211 | REJECTED = 3; 1212 | LEFT = 4; 1213 | KICK_OUT = 5; 1214 | BANNED = 6; 1215 | DELETED = 7; 1216 | } 1217 | 1218 | enum SquareChatMemberAttribute { 1219 | MEMBERSHIP_STATE = 4; 1220 | NOTIFICATION_MESSAGE = 6; 1221 | } 1222 | 1223 | enum SquareMemberRole { 1224 | ADMIN = 1; 1225 | CO_ADMIN = 2; 1226 | MEMBER = 10; 1227 | } 1228 | 1229 | enum PreconditionFailedExtraInfo { 1230 | DUPLICATED_DISPLAY_NAME = 0; 1231 | } 1232 | 1233 | enum SquareChatMembershipState { 1234 | JOINED = 1; 1235 | LEFT = 2; 1236 | } 1237 | 1238 | enum FetchDirection { 1239 | FORWARD = 1; 1240 | BACKWARD = 2; 1241 | } 1242 | 1243 | enum SquareAttribute { 1244 | NAME = 1; 1245 | WELCOME_MESSAGE = 2; 1246 | PROFILE_IMAGE = 3; 1247 | DESCRIPTION = 4; 1248 | SEARCHABLE = 6; 1249 | CATEGORY = 7; 1250 | INVITATION_URL = 8; 1251 | ABLE_TO_USE_INVITATION_URL = 9; 1252 | STATE = 10; 1253 | } 1254 | 1255 | enum SquareAuthorityAttribute { 1256 | UPDATE_SQUARE_PROFILE = 1; 1257 | INVITE_NEW_MEMBER = 2; 1258 | APPROVE_JOIN_REQUEST = 3; 1259 | CREATE_POST = 4; 1260 | CREATE_OPEN_SQUARE_CHAT = 5; 1261 | DELETE_SQUARE_CHAT_OR_POST = 6; 1262 | REMOVE_SQUARE_MEMBER = 7; 1263 | GRANT_ROLE = 8; 1264 | ENABLE_INVITATION_TICKET = 9; 1265 | CREATE_CHAT_ANNOUNCEMENT = 10; 1266 | } 1267 | 1268 | enum SquareEventStatus { 1269 | NORMAL = 1; 1270 | ALERT_DISABLED = 2; 1271 | } 1272 | 1273 | struct Location { 1274 | 1: string title; 1275 | 2: string address; 1276 | 3: double latitude; 1277 | 4: double longitude; 1278 | 5: string phone; 1279 | } 1280 | 1281 | struct MessageBoxV2MessageId { 1282 | 1: i64 deliveredTime; 1283 | 2: i64 messageId; 1284 | } 1285 | 1286 | struct MessageCommitResult { 1287 | 1: string requestId; 1288 | 2: BuddyResultState state; 1289 | 3: string messageStoreRequestId; 1290 | 4: list messageIds; 1291 | 11: i64 receiverCount; 1292 | 12: i64 successCount; 1293 | 13: i64 failCount; 1294 | 14: i64 blockCount; 1295 | 15: i64 unregisteredCount; 1296 | 16: i64 unrelatedCount; 1297 | 21: string errorDescription; 1298 | } 1299 | 1300 | struct CallHost { 1301 | 1: string host; 1302 | 2: i32 port; 1303 | 3: string zone; 1304 | } 1305 | 1306 | struct AgeCheckDocomoResult { 1307 | 1: string authUrl; 1308 | 2: UserAgeType userAgeType; 1309 | } 1310 | 1311 | struct AgeCheckRequestResult { 1312 | 1: string authUrl; 1313 | 2: string sessionId; 1314 | } 1315 | 1316 | struct TextMessageAnnouncementContents { 1317 | 1: string messageId; 1318 | 2: string text; 1319 | 3: string senderSquareMemberMid; 1320 | 4: i64 createdAt; 1321 | } 1322 | 1323 | struct SquareChatAnnouncementContents { 1324 | 1: TextMessageAnnouncementContents textMessageAnnouncementContents; 1325 | } 1326 | 1327 | struct SquareChatAnnouncement { 1328 | 1: i64 announcementSeq; 1329 | 2: SquareChatAnnouncementType type; 1330 | 3: SquareChatAnnouncementContents contents; 1331 | } 1332 | 1333 | struct Announcement { 1334 | 1: i32 index; 1335 | 10: bool forceUpdate; 1336 | 11: string title; 1337 | 12: string text; 1338 | 13: i64 createdTime; 1339 | 14: string pictureUrl; 1340 | 15: string thumbnailUrl; 1341 | } 1342 | 1343 | struct ChannelProvider { 1344 | 1: string name; 1345 | } 1346 | 1347 | struct E2EEPublicKey { 1348 | 1: i32 version; 1349 | 2: i32 keyId; 1350 | 4: binary keyData; 1351 | 5: i64 createdTime; 1352 | } 1353 | 1354 | struct ChannelDomain { 1355 | 1: string host; 1356 | 2: bool removed; 1357 | } 1358 | 1359 | struct E2EENegotiationResult { 1360 | 1: set allowedTypes; 1361 | 2: E2EEPublicKey publicKey; 1362 | } 1363 | 1364 | struct OTPResult { 1365 | 1: string otpId; 1366 | 2: string otp; 1367 | } 1368 | 1369 | struct Square { 1370 | 1: string mid; 1371 | 2: string name; 1372 | 3: string welcomeMessage; 1373 | 4: string profileImageObsHash; 1374 | 5: string desc; 1375 | 6: bool searchable; 1376 | 7: SquareType type; 1377 | 8: i32 categoryID; 1378 | 9: string invitationURL; 1379 | 10: i64 revision; 1380 | 11: bool ableToUseInvitationTicket; 1381 | 12: SquareState state; 1382 | } 1383 | 1384 | struct SquareAuthority { 1385 | 1: string squareMid; 1386 | 2: SquareMemberRole updateSquareProfile; 1387 | 3: SquareMemberRole inviteNewMember; 1388 | 4: SquareMemberRole approveJoinRequest; 1389 | 5: SquareMemberRole createPost; 1390 | 6: SquareMemberRole createOpenSquareChat; 1391 | 7: SquareMemberRole deleteSquareChatOrPost; 1392 | 8: SquareMemberRole removeSquareMember; 1393 | 9: SquareMemberRole grantRole; 1394 | 10: SquareMemberRole enableInvitationTicket; 1395 | 11: i64 revision; 1396 | } 1397 | 1398 | struct SquarePreference { 1399 | 1: i64 favoriteTimestamp; 1400 | 2: bool notiForNewJoinRequest; 1401 | } 1402 | 1403 | struct SquareMember { 1404 | 1: string squareMemberMid; 1405 | 2: string squareMid; 1406 | 3: string displayName; 1407 | 4: string profileImageObsHash; 1408 | 5: bool ableToReceiveMessage; 1409 | 7: SquareMembershipState membershipState; 1410 | 8: SquareMemberRole role; 1411 | 9: i64 revision; 1412 | 10: SquarePreference preference; 1413 | 11: string joinMessage; 1414 | } 1415 | 1416 | struct SquareMemberRelation { 1417 | 1: SquareMemberRelationState state; 1418 | 2: i64 revision; 1419 | } 1420 | 1421 | struct SquareFeature { 1422 | 1: SquareFeatureControlState controlState; 1423 | 2: BooleanState booleanValue; 1424 | } 1425 | 1426 | struct SquareFeatureSet { 1427 | 1: string squareMid; 1428 | 2: i64 revision; 1429 | 11: SquareFeature creatingSecretSquareChat; 1430 | 12: SquareFeature invitingIntoOpenSquareChat; 1431 | } 1432 | 1433 | struct SquareStatus { 1434 | 1: i32 memberCount; 1435 | 2: i32 joinRequestCount; 1436 | 3: i64 lastJoinRequestAt; 1437 | 4: i32 openChatCount; 1438 | } 1439 | 1440 | struct SquareChat { 1441 | 1: string squareChatMid; 1442 | 2: string squareMid; 1443 | 3: SquareChatType type; 1444 | 4: string name; 1445 | 5: string chatImageObsHash; 1446 | 6: i64 squareChatRevision; 1447 | 7: i32 maxMemberCount; 1448 | 8: SquareChatState state; 1449 | } 1450 | 1451 | struct NoteStatus { 1452 | 1: i32 noteCount; 1453 | 2: i64 latestCreatedAt; 1454 | } 1455 | 1456 | struct SquareInfo { 1457 | 1: Square square; 1458 | 2: SquareStatus squareStatus; 1459 | 3: NoteStatus squareNoteStatus; 1460 | } 1461 | 1462 | struct BotUseInfo { 1463 | 1: bool botUseAgreementAccepted; 1464 | 2: bool botInFriends; 1465 | 3: string primaryApplication; 1466 | 4: string locale; 1467 | } 1468 | 1469 | struct PaidCallAdCountry { 1470 | 1: string countryCode; 1471 | 2: string rateDivision; 1472 | } 1473 | 1474 | struct PaidCallAdResult { 1475 | 1: i32 adRemains; 1476 | } 1477 | 1478 | struct PaidCallBalance { 1479 | 1: PaidCallProductType productType; 1480 | 2: string productName; 1481 | 3: string unit; 1482 | 4: i32 limitedPaidBalance; 1483 | 5: i32 limitedFreeBalance; 1484 | 6: i32 unlimitedPaidBalance; 1485 | 7: i32 unlimitedFreeBalance; 1486 | 8: i64 startTime; 1487 | 9: i64 endTime; 1488 | 10: bool autopayEnabled; 1489 | } 1490 | 1491 | struct PaidCallCurrencyExchangeRate { 1492 | 1: string currencyCode; 1493 | 2: string currencyName; 1494 | 3: string currencySign; 1495 | 4: bool preferred; 1496 | 5: string coinRate; 1497 | 6: string creditRate; 1498 | } 1499 | 1500 | struct ExtendedProfileBirthday { 1501 | 1: string year; 1502 | 2: PrivacyLevelType yearPrivacyLevelType; 1503 | 3: bool yearEnabled; 1504 | 5: string day; 1505 | 6: PrivacyLevelType dayPrivacyLevelType; 1506 | 7: bool dayEnabled; 1507 | } 1508 | 1509 | struct ExtendedProfile { 1510 | 1: ExtendedProfileBirthday birthday; 1511 | } 1512 | 1513 | struct PaidCallDialing { 1514 | 1: PaidCallType type; 1515 | 2: string dialedNumber; 1516 | 3: string serviceDomain; 1517 | 4: PaidCallProductType productType; 1518 | 5: string productName; 1519 | 6: bool multipleProduct; 1520 | 7: PaidCallerIdStatus callerIdStatus; 1521 | 10: i32 balance; 1522 | 11: string unit; 1523 | 12: i32 rate; 1524 | 13: string displayCode; 1525 | 14: string calledNumber; 1526 | 15: string calleeNationalNumber; 1527 | 16: string calleeCallingCode; 1528 | 17: string rateDivision; 1529 | 20: i32 adMaxMin; 1530 | 21: i32 adRemains; 1531 | 22: string adSessionId; 1532 | } 1533 | 1534 | struct SpotItem { 1535 | 2: string name; 1536 | 3: string phone; 1537 | 4: SpotCategory category; 1538 | 5: string mid; 1539 | 6: string countryAreaCode; 1540 | 10: bool freePhoneCallable; 1541 | } 1542 | 1543 | struct SpotNearbyItem { 1544 | 2: SpotItem spotItem; 1545 | 11: Location location; 1546 | } 1547 | 1548 | struct SpotNearbyResponse { 1549 | 1: list spotNearbyItems; 1550 | } 1551 | 1552 | struct SpotPhoneNumberResponse { 1553 | 1: list spotItems; 1554 | } 1555 | 1556 | struct PaidCallHistory { 1557 | 1: i64 seq; 1558 | 2: PaidCallType type; 1559 | 3: string dialedNumber; 1560 | 4: string calledNumber; 1561 | 5: string toMid; 1562 | 6: string toName; 1563 | 7: i64 setupTime; 1564 | 8: i64 startTime; 1565 | 9: i64 endTime; 1566 | 10: i64 duration; 1567 | 11: i32 terminate; 1568 | 12: PaidCallProductType productType; 1569 | 13: i32 charge; 1570 | 14: string unit; 1571 | 15: string result; 1572 | } 1573 | 1574 | struct PaidCallHistoryResult { 1575 | 1: list historys; 1576 | 2: bool hasNext; 1577 | } 1578 | 1579 | struct PaidCallMetadataResult { 1580 | 1: list currencyExchangeRates; 1581 | 2: list recommendedCountryCodes; 1582 | 3: list adCountries; 1583 | } 1584 | 1585 | struct PaidCallRedeemResult { 1586 | 1: string eventName; 1587 | 2: i32 eventAmount; 1588 | } 1589 | 1590 | struct PaidCallResponse { 1591 | 1: CallHost host; 1592 | 2: PaidCallDialing dialing; 1593 | 3: string token; 1594 | 4: list spotItems; 1595 | } 1596 | 1597 | struct PaidCallUserRate { 1598 | 1: string countryCode; 1599 | 2: i32 rate; 1600 | 3: string rateDivision; 1601 | 4: string rateName; 1602 | } 1603 | 1604 | struct ChannelInfo { 1605 | 1: string channelId; 1606 | 3: string name; 1607 | 4: string entryPageUrl; 1608 | 5: string descriptionText; 1609 | 6: ChannelProvider provider; 1610 | 7: PublicType publicType; 1611 | 8: string iconImage; 1612 | 9: list permissions; 1613 | 11: string iconThumbnailImage; 1614 | 12: list channelConfigurations; 1615 | 13: bool lcsAllApiUsable; 1616 | 14: set allowedPermissions; 1617 | 15: list channelDomains; 1618 | 16: i64 updatedTimestamp; 1619 | } 1620 | 1621 | struct ApprovedChannelInfo { 1622 | 1: ChannelInfo channelInfo; 1623 | 2: i64 approvedAt; 1624 | } 1625 | 1626 | struct ApprovedChannelInfos { 1627 | 1: list approvedChannelInfos; 1628 | 2: i64 revision; 1629 | } 1630 | 1631 | struct AuthQrcode { 1632 | 1: string qrcode; 1633 | 2: string verifier; 1634 | 3: string callbackUrl; 1635 | } 1636 | 1637 | struct AnalyticsInfo { 1638 | 1: double gaSamplingRate; 1639 | 2: string tmid; 1640 | } 1641 | 1642 | struct ContactTransition { 1643 | 1: string ownerMid; 1644 | 2: string targetMid; 1645 | 3: ContactStatus previousStatus; 1646 | 4: ContactStatus resultStatus; 1647 | } 1648 | 1649 | struct UserTicketResponse { 1650 | 1: string mid; 1651 | 2: string userTicket; 1652 | } 1653 | 1654 | struct BuddyBanner { 1655 | 1: BuddyBannerLinkType buddyBannerLinkType; 1656 | 2: string buddyBannerLink; 1657 | 3: string buddyBannerImageUrl; 1658 | } 1659 | 1660 | struct BuddyDetail { 1661 | 1: string mid; 1662 | 2: i64 memberCount; 1663 | 3: bool onAir; 1664 | 4: bool businessAccount; 1665 | 5: bool addable; 1666 | 6: set acceptableContentTypes; 1667 | 7: bool capableMyhome; 1668 | } 1669 | 1670 | struct Contact { 1671 | 1: string mid; 1672 | 2: i64 createdTime; 1673 | 10: ContactType type; 1674 | 11: ContactStatus status; 1675 | 21: ContactRelation relation; 1676 | 22: string displayName; 1677 | 23: string phoneticName; 1678 | 24: string pictureStatus; 1679 | 25: string thumbnailUrl; 1680 | 26: string statusMessage; 1681 | 27: string displayNameOverridden; 1682 | 28: i64 favoriteTime; 1683 | 31: bool capableVoiceCall; 1684 | 32: bool capableVideoCall; 1685 | 33: bool capableMyhome; 1686 | 34: bool capableBuddy; 1687 | 35: i32 attributes; 1688 | 36: i64 settings; 1689 | 37: string picturePath; 1690 | 38: string recommendParams; 1691 | 39: FriendRequestStatus friendRequestStatus; 1692 | 40: string musicProfile; 1693 | 42: string videoProfile; 1694 | } 1695 | 1696 | struct BuddyList { 1697 | 1: string classification; 1698 | 2: string displayName; 1699 | 3: i32 totalBuddyCount; 1700 | 4: list popularContacts; 1701 | } 1702 | 1703 | struct RegisterWithPhoneNumberResult { 1704 | 1: string authToken; 1705 | 2: bool recommendEmailRegistration; 1706 | 3: string certificate; 1707 | } 1708 | 1709 | struct BuddyMessageRequest { 1710 | 1: ContentType contentType; 1711 | 2: string text; 1712 | 3: Location location; 1713 | 4: binary content; 1714 | 5: map contentMetadata; 1715 | } 1716 | 1717 | struct BuddyOnAirUrls { 1718 | 1: map hls; 1719 | 2: map smoothStreaming; 1720 | } 1721 | 1722 | struct BuddyOnAir { 1723 | 1: string mid; 1724 | 3: i64 freshnessLifetime; 1725 | 4: string onAirId; 1726 | 5: bool onAir; 1727 | 11: string text; 1728 | 12: i64 viewerCount; 1729 | 13: i64 targetCount; 1730 | 31: BuddyOnAirType onAirType; 1731 | 32: BuddyOnAirUrls onAirUrls; 1732 | } 1733 | 1734 | struct BuddyProfile { 1735 | 1: string buddyId; 1736 | 2: string mid; 1737 | 3: string searchId; 1738 | 4: string displayName; 1739 | 5: string statusMessage; 1740 | 11: i64 contactCount; 1741 | } 1742 | 1743 | struct CommitMessageResult { 1744 | 1: Message message; 1745 | 2: CommitMessageResultCode code; 1746 | 3: string reason; 1747 | 4: i64 successCount; 1748 | 5: i64 failCount; 1749 | 6: i64 unregisterCount; 1750 | 7: i64 blockCount; 1751 | } 1752 | 1753 | struct BuddySearchResult { 1754 | 1: string mid; 1755 | 2: string displayName; 1756 | 3: string pictureStatus; 1757 | 4: string picturePath; 1758 | 5: string statusMessage; 1759 | 6: bool businessAccount; 1760 | } 1761 | 1762 | struct SyncParamMid { 1763 | 1: string mid; 1764 | 2: Diff diff; 1765 | 3: i64 revision; 1766 | } 1767 | 1768 | struct SIMInfo { 1769 | 1: string phoneNumber; 1770 | 2: string countryCode; 1771 | } 1772 | 1773 | struct SyncParamContact { 1774 | 1: SyncParamMid syncParamMid; 1775 | 2: ContactStatus contactStatus; 1776 | } 1777 | 1778 | struct ChannelDomains { 1779 | 1: list channelDomains; 1780 | 2: i64 revision; 1781 | } 1782 | 1783 | struct ProductCategory { 1784 | 1: i64 productCategoryId; 1785 | 2: string title; 1786 | 3: i32 productCount; 1787 | 4: bool newFlag; 1788 | } 1789 | 1790 | struct ChannelInfos { 1791 | 1: list channelInfos; 1792 | 2: i64 revision; 1793 | } 1794 | 1795 | struct ChannelNotificationSetting { 1796 | 1: string channelId; 1797 | 2: string name; 1798 | 3: bool notificationReceivable; 1799 | 4: bool messageReceivable; 1800 | 5: bool showDefault; 1801 | } 1802 | 1803 | struct ChannelSyncDatas { 1804 | 1: list channelInfos; 1805 | 2: list channelDomains; 1806 | 3: i64 revision; 1807 | 4: i64 expires; 1808 | } 1809 | 1810 | struct NotiCenterEventData { 1811 | 1: string id; 1812 | 2: string to; 1813 | 3: string from_; 1814 | 4: string toChannel; 1815 | 5: string fromChannel; 1816 | 6: string eventType; 1817 | 7: i64 createdTime; 1818 | 8: i64 operationRevision; 1819 | 9: map content; 1820 | 10: map push; 1821 | } 1822 | 1823 | struct ChannelToken { 1824 | 1: string token; 1825 | 2: string obsToken; 1826 | 3: i64 expiration; 1827 | 4: string refreshToken; 1828 | 5: string channelAccessToken; 1829 | } 1830 | 1831 | struct ChannelSettings { 1832 | 1: bool unapprovedMessageReceivable; 1833 | } 1834 | 1835 | struct ChannelIdWithLastUpdated { 1836 | 1: string channelId; 1837 | 2: i64 lastUpdated; 1838 | } 1839 | 1840 | struct Coin { 1841 | 1: i32 freeCoinBalance; 1842 | 2: i32 payedCoinBalance; 1843 | 3: i32 totalCoinBalance; 1844 | 4: i32 rewardCoinBalance; 1845 | } 1846 | 1847 | struct CoinPayLoad { 1848 | 1: i32 payCoin; 1849 | 2: i32 freeCoin; 1850 | 3: PayloadType type; 1851 | 4: i32 rewardCoin; 1852 | } 1853 | 1854 | struct CoinHistory { 1855 | 1: i64 payDate; 1856 | 2: i32 coinBalance; 1857 | 3: i32 coin; 1858 | 4: string price; 1859 | 5: string title; 1860 | 6: bool refund; 1861 | 7: string paySeq; 1862 | 8: string currency; 1863 | 9: string currencySign; 1864 | 10: string displayPrice; 1865 | 11: CoinPayLoad payload; 1866 | 12: string channelId; 1867 | } 1868 | 1869 | struct CoinHistoryCondition { 1870 | 1: i64 start; 1871 | 2: i32 size; 1872 | 3: string language; 1873 | 4: string eddt; 1874 | 5: PaymentType appStoreCode; 1875 | } 1876 | 1877 | struct CoinHistoryResult { 1878 | 1: list historys; 1879 | 2: Coin balance; 1880 | 3: bool hasNext; 1881 | } 1882 | 1883 | struct CoinProductItem { 1884 | 1: string itemId; 1885 | 2: i32 coin; 1886 | 3: i32 freeCoin; 1887 | 5: string currency; 1888 | 6: string price; 1889 | 7: string displayPrice; 1890 | 8: string name; 1891 | 9: string desc; 1892 | } 1893 | 1894 | struct CoinPurchaseConfirm { 1895 | 1: string orderId; 1896 | 2: PaymentType appStoreCode; 1897 | 3: string receipt; 1898 | 4: string signature; 1899 | 5: string seller; 1900 | 6: string requestType; 1901 | 7: bool ignoreReceipt; 1902 | } 1903 | 1904 | struct CoinPurchaseReservation { 1905 | 1: string productId; 1906 | 2: string country; 1907 | 3: string currency; 1908 | 4: string price; 1909 | 5: PaymentType appStoreCode; 1910 | 6: string language; 1911 | 7: PaymentPgType pgCode; 1912 | 8: string redirectUrl; 1913 | } 1914 | 1915 | struct CoinUseReservationItem { 1916 | 1: string itemId; 1917 | 2: string itemName; 1918 | 3: i32 amount; 1919 | } 1920 | 1921 | struct CoinUseReservation { 1922 | 1: string channelId; 1923 | 2: string shopOrderId; 1924 | 3: PaymentType appStoreCode; 1925 | 4: list items; 1926 | 5: string country; 1927 | } 1928 | 1929 | struct CompactContact { 1930 | 1: string mid; 1931 | 2: i64 createdTime; 1932 | 3: i64 modifiedTime; 1933 | 4: ContactStatus status; 1934 | 5: i64 settings; 1935 | 6: string displayNameOverridden; 1936 | } 1937 | 1938 | struct ContactModification { 1939 | 1: ModificationType type; 1940 | 2: string luid; 1941 | 11: list phones; 1942 | 12: list emails; 1943 | 13: list userids; 1944 | } 1945 | 1946 | struct ContactRegistration { 1947 | 1: Contact contact; 1948 | 10: string luid; 1949 | 11: ContactType contactType; 1950 | 12: string contactKey; 1951 | } 1952 | 1953 | struct ContactReport { 1954 | 1: string mid; 1955 | 2: bool exists; 1956 | 3: Contact contact; 1957 | } 1958 | 1959 | struct ContactReportResult { 1960 | 1: string mid; 1961 | 2: bool exists; 1962 | } 1963 | 1964 | struct DeviceInfo { 1965 | 1: string deviceName; 1966 | 2: string systemName; 1967 | 3: string systemVersion; 1968 | 4: string model; 1969 | 10: CarrierCode carrierCode; 1970 | 11: string carrierName; 1971 | 20: ApplicationType applicationType; 1972 | } 1973 | 1974 | struct EmailConfirmation { 1975 | 1: bool usePasswordSet; 1976 | 2: string email; 1977 | 3: string password; 1978 | 4: bool ignoreDuplication; 1979 | } 1980 | 1981 | struct EmailConfirmationSession { 1982 | 1: EmailConfirmationType emailConfirmationType; 1983 | 2: string verifier; 1984 | 3: string targetEmail; 1985 | } 1986 | 1987 | struct FriendChannelMatrix { 1988 | 1: string channelId; 1989 | 2: string representMid; 1990 | 3: i32 count; 1991 | 4: i32 point; 1992 | } 1993 | 1994 | struct FriendChannelMatricesResponse { 1995 | 1: i64 expires; 1996 | 2: list matrices; 1997 | } 1998 | 1999 | struct FriendRequest { 2000 | 1: string eMid; 2001 | 2: string mid; 2002 | 3: FriendRequestDirection direction; 2003 | 4: FriendRequestMethod method; 2004 | 5: string param; 2005 | 6: i64 timestamp; 2006 | 7: i64 seqId; 2007 | 10: string displayName; 2008 | 11: string picturePath; 2009 | 12: string pictureStatus; 2010 | } 2011 | 2012 | struct FriendRequestsInfo { 2013 | 1: i32 totalIncomingCount; 2014 | 2: i32 totalOutgoingCount; 2015 | 3: list recentIncomings; 2016 | 4: list recentOutgoings; 2017 | 5: i32 totalIncomingLimit; 2018 | 6: i32 totalOutgoingLimit; 2019 | } 2020 | 2021 | struct Geolocation { 2022 | 1: double longitude; 2023 | 2: double latitude; 2024 | } 2025 | 2026 | struct NotificationTarget { 2027 | 1: string applicationType; 2028 | 2: string applicationVersion; 2029 | 3: string region; 2030 | } 2031 | 2032 | struct GlobalEvent { 2033 | 1: string key; 2034 | 2: list targets; 2035 | 3: i64 createdTime; 2036 | 4: i64 data; 2037 | 5: i32 maxDelay; 2038 | } 2039 | 2040 | struct GroupPreference { 2041 | 1: string invitationTicket; 2042 | 2: i64 favoriteTimestamp; 2043 | } 2044 | 2045 | struct Group { 2046 | 1: string id; 2047 | 2: i64 createdTime; 2048 | 10: string name; 2049 | 11: string pictureStatus; 2050 | 12: bool preventedJoinByTicket; 2051 | 13: GroupPreference groupPreference; 2052 | 20: list members; 2053 | 21: Contact creator; 2054 | 22: list invitee; 2055 | 31: bool notificationDisabled; 2056 | } 2057 | 2058 | struct IdentityCredential { 2059 | 1: IdentityProvider provider; 2060 | 2: string identifier; 2061 | 3: string password; 2062 | } 2063 | 2064 | struct LastReadMessageId { 2065 | 1: string mid; 2066 | 2: string lastReadMessageId; 2067 | } 2068 | 2069 | struct LastReadMessageIds { 2070 | 1: string chatId; 2071 | 2: list lastReadMessageIds; 2072 | } 2073 | 2074 | struct VerificationSessionData { 2075 | 1: string sessionId; 2076 | 2: VerificationMethod method; 2077 | 3: string callback; 2078 | 4: string normalizedPhone; 2079 | 5: string countryCode; 2080 | 6: string nationalSignificantNumber; 2081 | 7: list availableVerificationMethods; 2082 | } 2083 | 2084 | struct LoginResult { 2085 | 1: string authToken; 2086 | 2: string certificate; 2087 | 3: string verifier; 2088 | 4: string pinCode; 2089 | 5: LoginResultType type; 2090 | 6: i64 lastPrimaryBindTime; 2091 | 7: string displayMessage; 2092 | 8: VerificationSessionData sessionForSMSConfirm; 2093 | } 2094 | 2095 | struct LoginRequest { 2096 | 1: i32 type; 2097 | 2: i32 identityProvider; 2098 | 3: string identifier; 2099 | 4: string password; 2100 | 5: bool keepLoggedIn; 2101 | 6: string accessLocation; 2102 | 7: string systemName; 2103 | 8: string certificate; 2104 | 9: string verifier; 2105 | 10: string secret; 2106 | 11: i32 e2eeVersion; 2107 | } 2108 | 2109 | struct LoginSession { 2110 | 1: string tokenKey; 2111 | 3: i64 expirationTime; 2112 | 11: ApplicationType applicationType; 2113 | 12: string systemName; 2114 | 22: string accessLocation; 2115 | } 2116 | 2117 | struct Message { 2118 | 1: string _from; 2119 | 2: string to; 2120 | 3: MIDType toType; 2121 | 4: string id; 2122 | 5: i64 createdTime; 2123 | 6: i64 deliveredTime; 2124 | 10: string text; 2125 | 11: Location location; 2126 | 14: bool hasContent; 2127 | 15: ContentType contentType; 2128 | 17: binary contentPreview; 2129 | 18: map contentMetadata; 2130 | 19: i8 sessionId; 2131 | 20: list chunks; 2132 | 21: string relatedMessageId; 2133 | 22: MessageRelationType messageRelationType; 2134 | 23: i64 readCount; 2135 | 24: ServiceCode relatedMessageServiceCode; 2136 | } 2137 | 2138 | struct SquareMessage { 2139 | 1: Message message; 2140 | 3: MIDType fromType; 2141 | 4: i64 squareMessageRevision; 2142 | } 2143 | 2144 | struct SquareChatStatusWithoutMessage { 2145 | 1: i32 memberCount; 2146 | 2: i32 unreadMessageCount; 2147 | } 2148 | 2149 | struct SquareChatStatus { 2150 | 3: SquareMessage lastMessage; 2151 | 4: string senderDisplayName; 2152 | 5: SquareChatStatusWithoutMessage otherStatus; 2153 | } 2154 | 2155 | struct SquareChatMember { 2156 | 1: string squareMemberMid; 2157 | 2: string squareChatMid; 2158 | 3: i64 revision; 2159 | 4: SquareChatMembershipState membershipState; 2160 | 5: bool notificationForMessage; 2161 | } 2162 | 2163 | struct MessageOperation { 2164 | 1: i64 revision; 2165 | 2: i64 createdTime; 2166 | 3: MessageOperationType type; 2167 | 4: i32 reqSeq; 2168 | 5: OpStatus status; 2169 | 10: string param1; 2170 | 11: string param2; 2171 | 12: string param3; 2172 | 20: Message message; 2173 | } 2174 | 2175 | struct MessageOperations { 2176 | 1: list operations; 2177 | 2: bool endFlag; 2178 | } 2179 | 2180 | struct MessageStoreResult { 2181 | 1: string requestId; 2182 | 2: list messageIds; 2183 | } 2184 | 2185 | struct MetaProfile { 2186 | 1: i64 createTime; 2187 | 2: string regionCode; 2188 | 3: map identities; 2189 | } 2190 | 2191 | struct NotificationItem { 2192 | 1: string id; 2193 | 2: string _from; 2194 | 3: string to; 2195 | 4: string fromChannel; 2196 | 5: string toChannel; 2197 | 7: i64 revision; 2198 | 8: i64 createdTime; 2199 | 9: map content; 2200 | } 2201 | 2202 | struct NotificationFetchResult { 2203 | 1: NotificationItemFetchMode fetchMode; 2204 | 2: list itemList; 2205 | } 2206 | 2207 | struct Operation { 2208 | 1: i64 revision; 2209 | 2: i64 createdTime; 2210 | 3: OpType type; 2211 | 4: i32 reqSeq; 2212 | 5: string checksum; 2213 | 7: OpStatus status; 2214 | 10: string param1; 2215 | 11: string param2; 2216 | 12: string param3; 2217 | 20: Message message; 2218 | } 2219 | 2220 | struct PaymentReservation { 2221 | 1: string receiverMid; 2222 | 2: string productId; 2223 | 3: string language; 2224 | 4: string location; 2225 | 5: string currency; 2226 | 6: string price; 2227 | 7: PaymentType appStoreCode; 2228 | 8: string messageText; 2229 | 9: i32 messageTemplate; 2230 | 10: i64 packageId; 2231 | } 2232 | 2233 | struct PaymentReservationResult { 2234 | 1: string orderId; 2235 | 2: string confirmUrl; 2236 | 3: map extras; 2237 | } 2238 | 2239 | struct Product { 2240 | 1: string productId; 2241 | 2: i64 packageId; 2242 | 3: i32 version; 2243 | 4: string authorName; 2244 | 5: bool onSale; 2245 | 6: i32 validDays; 2246 | 7: i32 saleType; 2247 | 8: string copyright; 2248 | 9: string title; 2249 | 10: string descriptionText; 2250 | 11: i64 shopOrderId; 2251 | 12: string fromMid; 2252 | 13: string toMid; 2253 | 14: i64 validUntil; 2254 | 15: i32 priceTier; 2255 | 16: string price; 2256 | 17: string currency; 2257 | 18: string currencySymbol; 2258 | 19: PaymentType paymentType; 2259 | 20: i64 createDate; 2260 | 21: bool ownFlag; 2261 | 22: ProductEventType eventType; 2262 | 23: string urlSchema; 2263 | 24: string downloadUrl; 2264 | 25: string buddyMid; 2265 | 26: i64 publishSince; 2266 | 27: bool newFlag; 2267 | 28: bool missionFlag; 2268 | 29: list categories; 2269 | 30: string missionButtonText; 2270 | 31: string missionShortDescription; 2271 | 32: string authorId; 2272 | 41: bool grantedByDefault; 2273 | 42: i32 displayOrder; 2274 | 43: bool availableForPresent; 2275 | 44: bool availableForMyself; 2276 | 51: bool hasAnimation; 2277 | 52: bool hasSound; 2278 | 53: bool recommendationsEnabled; 2279 | 54: StickerResourceType stickerResourceType; 2280 | } 2281 | 2282 | struct ProductList { 2283 | 1: bool hasNext; 2284 | 4: i64 bannerSequence; 2285 | 5: ProductBannerLinkType bannerTargetType; 2286 | 6: string bannerTargetPath; 2287 | 7: list productList; 2288 | 8: string bannerLang; 2289 | } 2290 | 2291 | struct StickerIdRange { 2292 | 1: i64 start; 2293 | 2: i32 size; 2294 | } 2295 | 2296 | struct ProductSimple { 2297 | 1: string productId; 2298 | 2: i64 packageId; 2299 | 3: i32 version; 2300 | 4: bool onSale; 2301 | 5: i64 validUntil; 2302 | 10: list stickerIdRanges; 2303 | 41: bool grantedByDefault; 2304 | 42: i32 displayOrder; 2305 | } 2306 | 2307 | struct ProductSimpleList { 2308 | 1: bool hasNext; 2309 | 2: i32 reinvokeHour; 2310 | 3: i64 lastVersionSeq; 2311 | 4: list productList; 2312 | 5: i64 recentNewReleaseDate; 2313 | 6: i64 recentEventReleaseDate; 2314 | } 2315 | 2316 | struct Profile { 2317 | 1: string mid; 2318 | 3: string userid; 2319 | 10: string phone; 2320 | 11: string email; 2321 | 12: string regionCode; 2322 | 20: string displayName; 2323 | 21: string phoneticName; 2324 | 22: string pictureStatus; 2325 | 23: string thumbnailUrl; 2326 | 24: string statusMessage; 2327 | 31: bool allowSearchByUserid; 2328 | 32: bool allowSearchByEmail; 2329 | 33: string picturePath; 2330 | 34: string musicProfile; 2331 | 35: string videoProfile; 2332 | } 2333 | 2334 | struct ProximityMatchCandidateResult { 2335 | 1: list users; 2336 | 2: list buddies; 2337 | } 2338 | 2339 | struct RegisterWithSnsIdResult { 2340 | 1: string authToken; 2341 | 2: bool userCreated; 2342 | } 2343 | 2344 | struct RequestTokenResponse { 2345 | 1: string requestToken; 2346 | 2: string returnUrl; 2347 | } 2348 | 2349 | struct Room { 2350 | 1: string mid; 2351 | 2: i64 createdTime; 2352 | 10: list contacts; 2353 | 31: bool notificationDisabled; 2354 | 40: list memberMids; 2355 | } 2356 | 2357 | struct SuggestDictionary { 2358 | 1: string language; 2359 | 2: string name; 2360 | } 2361 | 2362 | struct SuggestItemDictionaryIncrement { 2363 | 1: SuggestDictionaryIncrementStatus status; 2364 | 2: i64 revision; 2365 | 3: string scheme; 2366 | 4: binary data; 2367 | } 2368 | 2369 | struct SuggestTagDictionaryIncrement { 2370 | 1: SuggestDictionaryIncrementStatus status; 2371 | 2: string language; 2372 | 3: i64 revision; 2373 | 4: string scheme; 2374 | 5: binary data; 2375 | } 2376 | 2377 | struct SuggestDictionaryIncrements { 2378 | 1: SuggestItemDictionaryIncrement itemIncrement; 2379 | 2: list tagIncrements; 2380 | } 2381 | 2382 | enum SuggestDictionaryIncrementStatus { 2383 | SUCCESS = 0; 2384 | INVALID_REVISION = 1; 2385 | TOO_LARGE_DATA = 2; 2386 | SCHEME_CHANGED = 3; 2387 | RETRY = 4; 2388 | FAIL = 5; 2389 | TOO_OLD_DATA = 6; 2390 | } 2391 | 2392 | struct SuggestItemDictionaryRevision { 2393 | 1: i64 revision; 2394 | 2: string scheme; 2395 | } 2396 | 2397 | struct SuggestTagDictionaryRevision { 2398 | 1: string language; 2399 | 2: i64 revision; 2400 | 3: string scheme; 2401 | } 2402 | 2403 | struct SuggestDictionaryRevisions { 2404 | 1: SuggestItemDictionaryRevision itemRevision; 2405 | 2: list tagRevisions; 2406 | } 2407 | 2408 | struct SuggestDictionarySettings { 2409 | 1: i64 revision; 2410 | 2: i64 newRevision; 2411 | 3: list dictionaries; 2412 | 4: list preloadedDictionaries; 2413 | } 2414 | 2415 | struct PhoneInfoForChannel { 2416 | 1: string mid; 2417 | 2: string normalizedPhoneNumber; 2418 | 3: bool allowedToSearchByPhoneNumber; 2419 | 4: bool allowedToReceiveMessageFromNonFriend; 2420 | 5: string region; 2421 | } 2422 | 2423 | struct PhoneVerificationResult { 2424 | 1: VerificationResult verificationResult; 2425 | 2: AccountMigrationCheckType accountMigrationCheckType; 2426 | 3: bool recommendAddFriends; 2427 | } 2428 | 2429 | struct PlaceSearchInfo { 2430 | 1: string name; 2431 | 2: string address; 2432 | 3: double latitude; 2433 | 4: double longitude; 2434 | } 2435 | 2436 | struct RSAKey { 2437 | 1: string keynm; 2438 | 2: string nvalue; 2439 | 3: string evalue; 2440 | 4: string sessionKey; 2441 | } 2442 | 2443 | struct SecurityCenterResult { 2444 | 1: string uri; 2445 | 2: string token; 2446 | 3: string cookiePath; 2447 | 4: bool skip; 2448 | } 2449 | 2450 | struct SendBuddyMessageResult { 2451 | 1: string requestId; 2452 | 2: BuddyResultState state; 2453 | 3: string messageId; 2454 | 4: i32 eventNo; 2455 | 11: i64 receiverCount; 2456 | 12: i64 successCount; 2457 | 13: i64 failCount; 2458 | 14: i64 cancelCount; 2459 | 15: i64 blockCount; 2460 | 16: i64 unregisterCount; 2461 | 21: i64 timestamp; 2462 | 22: string message; 2463 | } 2464 | 2465 | struct SetBuddyOnAirResult { 2466 | 1: string requestId; 2467 | 2: BuddyResultState state; 2468 | 3: i32 eventNo; 2469 | 11: i64 receiverCount; 2470 | 12: i64 successCount; 2471 | 13: i64 failCount; 2472 | 14: i64 cancelCount; 2473 | 15: i64 unregisterCount; 2474 | 21: i64 timestamp; 2475 | 22: string message; 2476 | } 2477 | 2478 | struct Settings { 2479 | 10: bool notificationEnable; 2480 | 11: i64 notificationMuteExpiration; 2481 | 12: bool notificationNewMessage; 2482 | 13: bool notificationGroupInvitation; 2483 | 14: bool notificationShowMessage; 2484 | 15: bool notificationIncomingCall; 2485 | 16: string notificationSoundMessage; 2486 | 17: string notificationSoundGroup; 2487 | 18: bool notificationDisabledWithSub; 2488 | 20: bool privacySyncContacts; 2489 | 21: bool privacySearchByPhoneNumber; 2490 | 22: bool privacySearchByUserid; 2491 | 23: bool privacySearchByEmail; 2492 | 24: bool privacyAllowSecondaryDeviceLogin; 2493 | 25: bool privacyProfileImagePostToMyhome; 2494 | 26: bool privacyReceiveMessagesFromNotFriend; 2495 | 30: string contactMyTicket; 2496 | 40: IdentityProvider identityProvider; 2497 | 41: string identityIdentifier; 2498 | 42: map snsAccounts; 2499 | 43: bool phoneRegistration; 2500 | 44: EmailConfirmationStatus emailConfirmationStatus; 2501 | 50: string preferenceLocale; 2502 | 60: map customModes; 2503 | 61: bool e2eeEnable; 2504 | 62: bool hitokotoBackupRequested; 2505 | 63: bool privacyProfileMusicPostToMyhome; 2506 | 65: bool privacyAllowNearby; 2507 | 66: i64 agreementNearbyTime; 2508 | 67: i64 agreementSquareTime; 2509 | 68: bool notificationMention; 2510 | 69: i64 botUseAgreementAcceptedAt; 2511 | } 2512 | 2513 | struct SimpleChannelClient { 2514 | 1: string applicationType; 2515 | 2: string applicationVersion; 2516 | 3: string locale; 2517 | } 2518 | 2519 | struct SimpleChannelContact { 2520 | 1: string mid; 2521 | 2: string displayName; 2522 | 3: string pictureStatus; 2523 | 4: string picturePath; 2524 | 5: string statusMessage; 2525 | } 2526 | 2527 | struct SnsFriend { 2528 | 1: string snsUserId; 2529 | 2: string snsUserName; 2530 | 3: SnsIdType snsIdType; 2531 | } 2532 | 2533 | struct SnsFriendContactRegistration { 2534 | 1: Contact contact; 2535 | 2: SnsIdType snsIdType; 2536 | 3: string snsUserId; 2537 | } 2538 | 2539 | struct SnsFriendModification { 2540 | 1: ModificationType type; 2541 | 2: SnsFriend snsFriend; 2542 | } 2543 | 2544 | struct SnsFriends { 2545 | 1: list snsFriends; 2546 | 2: bool hasMore; 2547 | } 2548 | 2549 | struct SnsIdUserStatus { 2550 | 1: bool userExisting; 2551 | 2: bool phoneNumberRegistered; 2552 | 3: bool sameDevice; 2553 | } 2554 | 2555 | struct SnsProfile { 2556 | 1: string snsUserId; 2557 | 2: string snsUserName; 2558 | 3: string email; 2559 | 4: string thumbnailUrl; 2560 | } 2561 | 2562 | struct SystemConfiguration { 2563 | 1: string endpoint; 2564 | 2: string endpointSsl; 2565 | 3: string updateUrl; 2566 | 11: string c2dmAccount; 2567 | 12: string nniServer; 2568 | } 2569 | 2570 | struct Ticket { 2571 | 1: string id; 2572 | 10: i64 expirationTime; 2573 | 21: i32 maxUseCount; 2574 | } 2575 | 2576 | struct TMessageBox { 2577 | 1: string id; 2578 | 2: string channelId; 2579 | 5: i64 lastSeq; 2580 | 6: i64 unreadCount; 2581 | 7: i64 lastModifiedTime; 2582 | 8: i32 status; 2583 | 9: MIDType midType; 2584 | 10: list lastMessages; 2585 | } 2586 | 2587 | struct TMessageBoxWrapUp { 2588 | 1: TMessageBox messageBox; 2589 | 2: string name; 2590 | 3: list contacts; 2591 | 4: string pictureRevision; 2592 | } 2593 | 2594 | struct TMessageBoxWrapUpResponse { 2595 | 1: list messageBoxWrapUpList; 2596 | 2: i32 totalSize; 2597 | } 2598 | 2599 | struct TMessageReadRangeEntry { 2600 | 1: i64 startMessageId; 2601 | 2: i64 endMessageId; 2602 | 3: i64 startTime; 2603 | 4: i64 endTime; 2604 | } 2605 | 2606 | struct TMessageReadRange { 2607 | 1: string chatId; 2608 | 2: map> ranges; 2609 | } 2610 | 2611 | struct ChatRoomAnnouncementContents { 2612 | 1: i32 displayFields; 2613 | 2: string text; 2614 | 3: string link; 2615 | 4: string thumbnail; 2616 | } 2617 | 2618 | struct ChatRoomAnnouncement { 2619 | 1: i64 announcementSeq; 2620 | 2: ChatRoomAnnouncementType type; 2621 | 3: ChatRoomAnnouncementContents contents; 2622 | 4: string creatorMid; 2623 | 5: i64 createdTime; 2624 | } 2625 | 2626 | struct ErrorExtraInfo { 2627 | 1: PreconditionFailedExtraInfo preconditionFailedExtraInfo; 2628 | } 2629 | 2630 | struct SyncRelations { 2631 | 1: bool syncAll; 2632 | 2: list syncParamContact; 2633 | 3: list syncParamMid; 2634 | } 2635 | 2636 | struct SyncScope { 2637 | 1: bool syncProfile; 2638 | 2: bool syncSettings; 2639 | 3: bool syncSticker; 2640 | 4: bool syncThemeShop; 2641 | 10: SyncRelations contact; 2642 | 11: SyncRelations group; 2643 | 12: SyncRelations room; 2644 | 13: SyncRelations chat; 2645 | } 2646 | 2647 | struct JoinSquareResponse { 2648 | 1: Square square; 2649 | 2: SquareAuthority squareAuthority; 2650 | 3: SquareStatus squareStatus; 2651 | 4: SquareMember squareMember; 2652 | 5: SquareFeatureSet squareFeatureSet; 2653 | 6: NoteStatus noteStatus; 2654 | } 2655 | 2656 | struct JoinSquareRequest { 2657 | 2: string squareMid; 2658 | 3: SquareMember member; 2659 | } 2660 | 2661 | struct JoinSquareChatResponse { 2662 | 1: SquareChat squareChat; 2663 | 2: SquareChatStatus squareChatStatus; 2664 | 3: SquareChatMember squareChatMember; 2665 | } 2666 | 2667 | struct JoinSquareChatRequest { 2668 | 1: string squareChatMid; 2669 | } 2670 | 2671 | struct SendMessageResponse { 2672 | 1: SquareMessage createdSquareMessage; 2673 | } 2674 | 2675 | struct SendMessageRequest { 2676 | 1: i32 reqSeq; 2677 | 2: string squareChatMid; 2678 | 3: SquareMessage squareMessage; 2679 | } 2680 | 2681 | struct MarkAsReadRequest { 2682 | 2: string squareChatMid; 2683 | 4: string messageId; 2684 | } 2685 | 2686 | struct MarkAsReadResponse { 2687 | 2688 | } 2689 | 2690 | struct SubscriptionState { 2691 | 1: i64 subscriptionId; 2692 | 2: i64 ttlMillis; 2693 | } 2694 | 2695 | struct ApproveSquareMembersResponse { 2696 | 1: list approvedMembers; 2697 | 2: SquareStatus status; 2698 | } 2699 | 2700 | struct ApproveSquareMembersRequest { 2701 | 2: string squareMid; 2702 | 3: list requestedMemberMids; 2703 | } 2704 | 2705 | struct CreateSquareChatResponse { 2706 | 1: SquareChat squareChat; 2707 | 2: SquareChatStatus squareChatStatus; 2708 | 3: SquareChatMember squareChatMember; 2709 | } 2710 | 2711 | struct CreateSquareChatRequest { 2712 | 1: i32 reqSeq; 2713 | 2: SquareChat squareChat; 2714 | 3: list squareMemberMids; 2715 | } 2716 | 2717 | struct CreateSquareResponse { 2718 | 1: Square square; 2719 | 2: SquareMember creator; 2720 | 3: SquareAuthority authority; 2721 | 4: SquareStatus status; 2722 | } 2723 | 2724 | struct CreateSquareRequest { 2725 | 1: i32 reqSeq; 2726 | 2: Square square; 2727 | 3: SquareMember creator; 2728 | } 2729 | 2730 | struct DeleteSquareResponse {} 2731 | 2732 | struct DeleteSquareRequest { 2733 | 2: string mid; 2734 | 3: i64 revision; 2735 | } 2736 | 2737 | struct DestroyMessageResponse {} 2738 | 2739 | struct DestroyMessageRequest { 2740 | 2: string squareChatMid; 2741 | 4: string messageId; 2742 | } 2743 | 2744 | struct GetSquareChatMembersRequest { 2745 | 1: string squareChatMid; 2746 | 2: string continuationToken; 2747 | 3: i32 limit; 2748 | } 2749 | 2750 | struct GetSquareChatMembersResponse { 2751 | 1: SquareMember squareChatMembers; 2752 | 2: string continuationToken; 2753 | } 2754 | 2755 | struct GetSquareChatStatusRequest { 2756 | 2: string squareChatMid; 2757 | } 2758 | 2759 | struct GetSquareChatStatusResponse { 2760 | 1: SquareChatStatus chatStatus; 2761 | } 2762 | 2763 | struct GetSquareChatRequest { 2764 | 1: string squareChatMid; 2765 | } 2766 | 2767 | struct GetSquareChatResponse { 2768 | 1: SquareChat squareChat; 2769 | 2: SquareChatMember squareChatMember; 2770 | 3: SquareChatStatus squareChatStatus; 2771 | } 2772 | 2773 | struct GetSquareAuthorityRequest { 2774 | 1: string squareMid; 2775 | } 2776 | 2777 | struct GetSquareAuthorityResponse { 2778 | 1: SquareAuthority authority; 2779 | } 2780 | 2781 | struct GetJoinedSquaresRequest { 2782 | 2: string continuationToken; 2783 | 3: i32 limit; 2784 | } 2785 | 2786 | struct GetJoinedSquaresResponse { 2787 | 1: list squares; 2788 | 2: map members; 2789 | 3: map authorities; 2790 | 4: map statuses; 2791 | 5: string continuationToken; 2792 | 6: map noteStatuses; 2793 | } 2794 | 2795 | struct GetJoinableSquareChatsRequest { 2796 | 1: string squareMid; 2797 | 10: string continuationToken; 2798 | 11: i32 limit; 2799 | } 2800 | 2801 | struct GetJoinableSquareChatsResponse { 2802 | 1: list squareChats; 2803 | 2: string continuationToken; 2804 | 3: i32 totalSquareChatCount; 2805 | 4: map squareChatStatuses; 2806 | } 2807 | 2808 | struct GetInvitationTicketUrlRequest { 2809 | 2: string mid; 2810 | } 2811 | 2812 | struct GetInvitationTicketUrlResponse { 2813 | 1: string invitationURL; 2814 | } 2815 | 2816 | struct LeaveSquareRequest { 2817 | 2: string squareMid; 2818 | } 2819 | 2820 | struct LeaveSquareResponse { 2821 | 2822 | } 2823 | 2824 | struct LeaveSquareChatRequest { 2825 | 2: string squareChatMid; 2826 | 3: bool sayGoodbye; 2827 | 4: i64 squareChatMemberRevision; 2828 | } 2829 | 2830 | struct LeaveSquareChatResponse { 2831 | 2832 | } 2833 | 2834 | struct SquareMemberSearchOption { 2835 | 1: SquareMembershipState membershipState; 2836 | 2: set memberRoles; 2837 | 3: string displayName; 2838 | 4: BooleanState ableToReceiveMessage; 2839 | 5: BooleanState ableToReceiveFriendRequest; 2840 | 6: string chatMidToExcludeMembers; 2841 | 7: bool includingMe; 2842 | } 2843 | 2844 | struct SearchSquareMembersRequest { 2845 | 2: string squareMid; 2846 | 3: SquareMemberSearchOption searchOption; 2847 | 4: string continuationToken; 2848 | 5: i32 limit; 2849 | } 2850 | 2851 | struct SearchSquareMembersResponse { 2852 | 1: list members; 2853 | 2: i64 revision; 2854 | 3: string continuationToken; 2855 | 4: i32 totalCount; 2856 | } 2857 | 2858 | struct FindSquareByInvitationTicketRequest { 2859 | 2: string invitationTicket; 2860 | } 2861 | 2862 | struct FindSquareByInvitationTicketResponse { 2863 | 1: Square square; 2864 | 2: SquareMember myMembership 2865 | 3: SquareAuthority squareAuthority 2866 | 4: SquareStatus squareStatus; 2867 | } 2868 | 2869 | struct SquareEventReceiveMessage { 2870 | 1: string squareChatMid; 2871 | 2: SquareMessage squareMessage; 2872 | } 2873 | 2874 | struct SquareEventSendMessage { 2875 | 1: string squareChatMid; 2876 | 2: SquareMessage squareMessage; 2877 | 3: i32 reqSeq; 2878 | } 2879 | 2880 | struct SquareEventNotifiedJoinSquareChat { 2881 | 1: string squareChatMid; 2882 | 2: SquareMember joinedMember; 2883 | } 2884 | 2885 | struct SquareEventNotifiedInviteIntoSquareChat { 2886 | 1: string squareChatMid; 2887 | 2: list invitees; 2888 | 3: SquareMember invitor; 2889 | 4: SquareMemberRelation invitorRelation; 2890 | } 2891 | 2892 | struct SquareEventNotifiedLeaveSquareChat { 2893 | 1: string squareChatMid; 2894 | 2: string squareMemberMid; 2895 | 3: bool sayGoodbye; 2896 | 4: SquareMember squareMember; 2897 | } 2898 | 2899 | struct SquareEventNotifiedDestroyMessage { 2900 | 1: string squareChatMid; 2901 | 3: string messageId; 2902 | } 2903 | 2904 | struct SquareEventNotifiedMarkAsRead { 2905 | 1: string squareChatMid; 2906 | 2: string sMemberMid; 2907 | 4: string messageId; 2908 | } 2909 | 2910 | struct SquareEventNotifiedUpdateSquareMemberProfile { 2911 | 1: string squareChatMid; 2912 | 2: SquareMember squareMember; 2913 | } 2914 | 2915 | struct SquareEventNotifiedKickoutFromSquare { 2916 | 1: string squareChatMid; 2917 | 2: list kickees; 2918 | } 2919 | 2920 | struct SquareEventNotifiedShutdownSquare { 2921 | 1: string squareChatMid; 2922 | 2: Square square; 2923 | } 2924 | 2925 | struct SquareEventNotifiedDeleteSquareChat { 2926 | 1: SquareChat squareChat; 2927 | } 2928 | 2929 | struct SquareEventNotifiedUpdateSquareChatProfileName { 2930 | 1: string squareChatMid; 2931 | 2: SquareMember editor; 2932 | 3: string updatedChatName; 2933 | } 2934 | 2935 | struct SquareEventNotifiedUpdateSquareChatProfileImage { 2936 | 1: string squareChatMid; 2937 | 2: SquareMember editor; 2938 | } 2939 | 2940 | struct SquareEventNotifiedUpdateSquareChatStatus { 2941 | 1: string squareChatMid; 2942 | 2: SquareChatStatusWithoutMessage statusWithoutMessage; 2943 | } 2944 | 2945 | struct SquareEventNotifiedUpdateSquareStatus { 2946 | 1: string squareMid; 2947 | 2: SquareStatus squareStatus; 2948 | } 2949 | 2950 | struct SquareEventNotifiedCreateSquareMember { 2951 | 1: Square square; 2952 | 2: SquareAuthority squareAuthority; 2953 | 3: SquareStatus squareStatus; 2954 | 4: SquareMember squareMember; 2955 | 5: SquareFeatureSet squareFeatureSet; 2956 | } 2957 | 2958 | struct SquareEventNotifiedCreateSquareChatMember { 2959 | 1: string squareChatMid; 2960 | 2: string squareMemberMid; 2961 | 3: SquareChatMember squareChatMember; 2962 | } 2963 | 2964 | struct SquareEventNotifiedUpdateSquareMemberRelation { 2965 | 1: string squareMid; 2966 | 2: string myMemberMid; 2967 | 3: string targetSquareMemberMid; 2968 | 4: SquareMemberRelation squareMemberRelation; 2969 | } 2970 | 2971 | struct SquareEventNotifiedUpdateSquare { 2972 | 1: string squareMid; 2973 | 2: Square square; 2974 | } 2975 | 2976 | struct SquareEventNotifiedUpdateSquareMember { 2977 | 1: string squareMid; 2978 | 2: string squareMemberMid; 2979 | 3: SquareMember squareMember; 2980 | } 2981 | 2982 | struct SquareEventNotifiedUpdateSquareChat { 2983 | 1: string squareMid; 2984 | 2: string squareChatMid; 2985 | 3: SquareChat squareChat; 2986 | } 2987 | 2988 | struct SquareEventNotificationJoinRequest { 2989 | 1: string squareMid; 2990 | 2: string squareName; 2991 | 3: string requestMemberName; 2992 | 4: string profileImageObsHash; 2993 | } 2994 | 2995 | struct SquareEventNotificationMemberUpdate { 2996 | 1: string squareMid; 2997 | 2: string squareName; 2998 | 3: string profileImageObsHash; 2999 | } 3000 | 3001 | struct SquareEventNotificationSquareDelete { 3002 | 1: string squareMid; 3003 | 2: string squareName; 3004 | 3: string profileImageObsHash; 3005 | } 3006 | 3007 | struct SquareEventNotificationSquareChatDelete { 3008 | 1: string squareChatMid; 3009 | 2: string squareChatName; 3010 | 3: string profileImageObsHash; 3011 | } 3012 | 3013 | struct SquareEventNotificationMessage { 3014 | 1: string squareChatMid; 3015 | 2: SquareMessage squareMessage 3016 | 3: string senderDisplayName; 3017 | 4: i32 unreadCount; 3018 | 5: bool requiredToFetchChatEvents; 3019 | } 3020 | 3021 | struct SquareEventNotifiedUpdateSquareChatMember { 3022 | 1: string squareChatMid; 3023 | 2: string squareMemberMid; 3024 | 3: SquareChatMember squareChatMember; 3025 | } 3026 | 3027 | struct SquareEventNotifiedUpdateSquareAuthority { 3028 | 1: string squareMid; 3029 | 2: SquareAuthority squareAuthority; 3030 | } 3031 | 3032 | struct SquareEventNotifiedUpdateSquareFeatureSet { 3033 | 1: SquareFeatureSet squareFeatureSet; 3034 | } 3035 | 3036 | struct SquareEventPayload { 3037 | 1: SquareEventReceiveMessage receiveMessage; 3038 | 2: SquareEventSendMessage sendMessage; 3039 | 3: SquareEventNotifiedJoinSquareChat notifiedJoinSquareChat; 3040 | 4: SquareEventNotifiedInviteIntoSquareChat notifiedInviteIntoSquareChat; 3041 | 5: SquareEventNotifiedLeaveSquareChat notifiedLeaveSquareChat; 3042 | 6: SquareEventNotifiedDestroyMessage notifiedDestroyMessage; 3043 | 7: SquareEventNotifiedMarkAsRead notifiedMarkAsRead; 3044 | 8: SquareEventNotifiedUpdateSquareMemberProfile notifiedUpdateSquareMemberProfile; 3045 | 20: SquareEventNotifiedKickoutFromSquare notifiedKickoutFromSquare; 3046 | 19: SquareEventNotifiedShutdownSquare notifiedShutdownSquare; 3047 | 21: SquareEventNotifiedDeleteSquareChat notifiedDeleteSquareChat; 3048 | 31: SquareEventNotifiedUpdateSquareChatProfileName notifiedUpdateSquareChatProfileName; 3049 | 32: SquareEventNotifiedUpdateSquareChatProfileImage notifiedUpdateSquareChatProfileImage; 3050 | 14: SquareEventNotifiedUpdateSquareStatus notifiedUpdateSquareStatus; 3051 | 15: SquareEventNotifiedUpdateSquareChatStatus notifiedUpdateSquareChatStatus; 3052 | 16: SquareEventNotifiedCreateSquareMember notifiedCreateSquareMember; 3053 | 17: SquareEventNotifiedCreateSquareChatMember notifiedCreateSquareChatMember; 3054 | 18: SquareEventNotifiedUpdateSquareMemberRelation notifiedUpdateSquareMemberRelation; 3055 | 9: SquareEventNotifiedUpdateSquare notifiedUpdateSquare; 3056 | 10: SquareEventNotifiedUpdateSquareMember notifiedUpdateSquareMember; 3057 | 11: SquareEventNotifiedUpdateSquareChat notifiedUpdateSquareChat; 3058 | 22: SquareEventNotificationJoinRequest notificationJoinRequest; 3059 | 23: SquareEventNotificationMemberUpdate notificationJoined; 3060 | 24: SquareEventNotificationMemberUpdate notificationPromoteCoadmin; 3061 | 25: SquareEventNotificationMemberUpdate notificationPromoteAdmin; 3062 | 26: SquareEventNotificationMemberUpdate notificationDemoteMember; 3063 | 27: SquareEventNotificationMemberUpdate notificationKickedOut; 3064 | 28: SquareEventNotificationSquareDelete notificationSquareDelete; 3065 | 29: SquareEventNotificationSquareChatDelete notificationSquareChatDelete; 3066 | 30: SquareEventNotificationMessage notificationMessage; 3067 | 12: SquareEventNotifiedUpdateSquareChatMember notifiedUpdateSquareChatMember; 3068 | 13: SquareEventNotifiedUpdateSquareAuthority notifiedUpdateSquareAuthority; 3069 | 33: SquareEventNotifiedUpdateSquareFeatureSet notifiedUpdateSquareFeatureSet; 3070 | } 3071 | 3072 | struct SquareEvent { 3073 | 2: i64 createdTime; 3074 | 3: SquareEventType type; 3075 | 4: SquareEventPayload payload; 3076 | 5: string syncToken; 3077 | 6: SquareEventStatus eventStatus; 3078 | } 3079 | 3080 | struct FetchMyEventsRequest { 3081 | 1: i64 subscriptionId; 3082 | 2: string syncToken; 3083 | 3: i32 limit; 3084 | 4: string continuationToken; 3085 | } 3086 | 3087 | struct FetchMyEventsResponse { 3088 | 1: SubscriptionState subscription; 3089 | 2: list events; 3090 | 3: string syncToken; 3091 | 4: string continuationToken; 3092 | } 3093 | 3094 | struct FetchSquareChatEventsRequest { 3095 | 1: i64 subscriptionId; 3096 | 2: string squareChatMid; 3097 | 3: string syncToken; 3098 | 4: i32 limit; 3099 | 5: FetchDirection direction; 3100 | } 3101 | 3102 | struct FetchSquareChatEventsResponse { 3103 | 1: SubscriptionState subscription; 3104 | 2: list events; 3105 | 3: string syncToken; 3106 | 4: string continuationToken; 3107 | } 3108 | 3109 | struct InviteToSquareRequest { 3110 | 2: string squareMid; 3111 | 3: list invitees; 3112 | 4: string squareChatMid; 3113 | } 3114 | 3115 | struct InviteToSquareResponse { 3116 | 3117 | } 3118 | 3119 | struct InviteToSquareChatRequest { 3120 | 1: list inviteeMids; 3121 | 2: string squareChatMid; 3122 | } 3123 | 3124 | struct InviteToSquareChatResponse { 3125 | 1: list inviteeMids; 3126 | } 3127 | 3128 | struct GetSquareMemberRequest { 3129 | 1: string squareMemberMid; 3130 | } 3131 | 3132 | struct GetSquareMemberResponse { 3133 | 1: SquareMember squareMember; 3134 | 2: SquareMemberRelation relation; 3135 | 3: string oneOnOneChatMid; 3136 | } 3137 | 3138 | struct GetSquareMembersRequest { 3139 | 2: set mids; 3140 | } 3141 | 3142 | struct GetSquareMembersResponse { 3143 | 1: SquareMember members; 3144 | } 3145 | 3146 | struct GetSquareMemberRelationsRequest { 3147 | 2: SquareMemberRelationState state; 3148 | 3: string continuationToken; 3149 | 4: i32 limit; 3150 | } 3151 | 3152 | struct GetSquareMemberRelationsResponse { 3153 | 1: list squareMembers; 3154 | 2: map relations; 3155 | 3: string continuationToken; 3156 | } 3157 | 3158 | struct GetSquareMemberRelationRequest { 3159 | 2: string squareMid; 3160 | 3: string targetSquareMemberMid; 3161 | } 3162 | 3163 | struct GetSquareMemberRelationResponse { 3164 | 1: string squareMid; 3165 | 2: string targetSquareMemberMid; 3166 | 3: SquareMemberRelation relation; 3167 | } 3168 | 3169 | struct Category { 3170 | 1: i32 id; 3171 | 2: string name; 3172 | } 3173 | 3174 | struct GetSquareCategoriesRequest { 3175 | 3176 | } 3177 | 3178 | struct GetSquareCategoriesResponse { 3179 | 1: list categoryList; 3180 | } 3181 | 3182 | struct UpdateSquareRequest { 3183 | 2: set updatedAttrs; 3184 | 3: Square square; 3185 | } 3186 | 3187 | struct UpdateSquareResponse { 3188 | 1: set updatedAttrs; 3189 | 2: Square square; 3190 | } 3191 | 3192 | struct SearchSquaresRequest { 3193 | 2: string query; 3194 | 3: string continuationToken; 3195 | 4: i32 limit; 3196 | } 3197 | 3198 | struct SearchSquaresResponse { 3199 | 1: list squares; 3200 | 2: map squareStatuses; 3201 | 3: map myMemberships; 3202 | 4: string continuationToken; 3203 | 5: map noteStatuses; 3204 | } 3205 | 3206 | struct GetSquareFeatureSetRequest { 3207 | 2: string squareMid; 3208 | } 3209 | 3210 | struct GetSquareFeatureSetResponse { 3211 | 1: SquareFeatureSet squareFeatureSet; 3212 | } 3213 | 3214 | struct UpdateSquareFeatureSetRequest { 3215 | 2: set updateAttributes; 3216 | 3: SquareFeatureSet squareFeatureSet; 3217 | } 3218 | 3219 | struct UpdateSquareFeatureSetResponse { 3220 | 1: set updateAttributes; 3221 | 2: SquareFeatureSet squareFeatureSet; 3222 | } 3223 | 3224 | struct UpdateSquareMemberRequest { 3225 | 2: set updatedAttrs; 3226 | 3: set updatedPreferenceAttrs; 3227 | 4: SquareMember squareMember; 3228 | } 3229 | 3230 | struct UpdateSquareMemberResponse { 3231 | 1: set updatedAttrs; 3232 | 2: SquareMember squareMember; 3233 | 3: set updatedPreferenceAttrs; 3234 | } 3235 | 3236 | struct UpdateSquareMembersRequest { 3237 | 2: set updatedAttrs; 3238 | 3: list members; 3239 | } 3240 | 3241 | struct UpdateSquareMembersResponse { 3242 | 1: set updatedAttrs; 3243 | 2: SquareMember editor; 3244 | 3: map members; 3245 | } 3246 | 3247 | struct RejectSquareMembersRequest { 3248 | 2: string squareMid; 3249 | 3: list requestedMemberMids; 3250 | } 3251 | 3252 | struct RejectSquareMembersResponse { 3253 | 1: list rejectedMembers; 3254 | 2: SquareStatus status; 3255 | } 3256 | 3257 | struct RemoveSubscriptionsRequest { 3258 | 2: list unsubscriptions; 3259 | } 3260 | 3261 | struct RemoveSubscriptionsResponse { 3262 | 3263 | } 3264 | 3265 | struct RefreshSubscriptionsRequest { 3266 | 2: list subscriptions; 3267 | } 3268 | 3269 | struct RefreshSubscriptionsResponse { 3270 | 1: i64 ttlMillis; 3271 | 2: map subscriptionStates; 3272 | } 3273 | 3274 | struct UpdateSquareChatRequest { 3275 | 2: set updatedAttrs; 3276 | 3: SquareChat squareChat; 3277 | } 3278 | 3279 | struct UpdateSquareChatResponse { 3280 | 1: set updatedAttrs; 3281 | 2: SquareChat squareChat; 3282 | } 3283 | 3284 | struct DeleteSquareChatRequest { 3285 | 2: string squareChatMid; 3286 | 3: i64 revision; 3287 | } 3288 | 3289 | struct DeleteSquareChatResponse { 3290 | 3291 | } 3292 | 3293 | struct UpdateSquareChatMemberRequest { 3294 | 2: set updatedAttrs; 3295 | 3: SquareChatMember chatMember; 3296 | } 3297 | 3298 | struct UpdateSquareChatMemberResponse { 3299 | 1: SquareChatMember updatedChatMember; 3300 | } 3301 | 3302 | struct UpdateSquareAuthorityRequest { 3303 | 2: set updateAttributes; 3304 | 3: SquareAuthority authority; 3305 | } 3306 | 3307 | struct UpdateSquareAuthorityResponse { 3308 | 1: set updatdAttributes; 3309 | 2: SquareAuthority authority; 3310 | } 3311 | 3312 | struct UpdateSquareMemberRelationRequest { 3313 | 2: string squareMid; 3314 | 3: string targetSquareMemberMid; 3315 | 4: set updatedAttrs; 3316 | 5: SquareMemberRelation relation; 3317 | } 3318 | 3319 | struct UpdateSquareMemberRelationResponse { 3320 | 1: string squareMid; 3321 | 2: string targetSquareMemberMid; 3322 | 3: set updatedAttrs; 3323 | 4: SquareMemberRelation relation; 3324 | } 3325 | 3326 | struct ReportSquareRequest { 3327 | 2: string squareMid; 3328 | 3: ReportType reportType; 3329 | 4: string otherReason; 3330 | } 3331 | 3332 | struct ReportSquareResponse { 3333 | 3334 | } 3335 | 3336 | struct ReportSquareChatRequest { 3337 | 2: string squareMid; 3338 | 3: string squareChatMid; 3339 | 5: ReportType reportType; 3340 | 6: string otherReason; 3341 | } 3342 | 3343 | struct ReportSquareChatResponse { 3344 | 3345 | } 3346 | 3347 | struct ReportSquareMessageRequest { 3348 | 2: string squareMid; 3349 | 3: string squareChatMid; 3350 | 4: string squareMessageId; 3351 | 5: ReportType reportType; 3352 | 6: string otherReason; 3353 | } 3354 | 3355 | struct ReportSquareMessageResponse { 3356 | 3357 | } 3358 | 3359 | struct ReportSquareMemberRequest { 3360 | 2: string squareMemberMid; 3361 | 3: ReportType reportType; 3362 | 4: string otherReason; 3363 | 5: string squareChatMid; 3364 | } 3365 | 3366 | struct ReportSquareMemberResponse { 3367 | 3368 | } 3369 | 3370 | struct GetSquareRequest { 3371 | 2: string mid; 3372 | } 3373 | 3374 | struct GetSquareResponse { 3375 | 1: Square square; 3376 | 2: SquareMember myMembership; 3377 | 3: SquareAuthority squareAuthority; 3378 | 4: SquareStatus squareStatus; 3379 | 5: SquareFeatureSet squareFeatureSet; 3380 | 6: NoteStatus noteStatus; 3381 | } 3382 | 3383 | struct GetSquareStatusRequest { 3384 | 2: string squareMid; 3385 | } 3386 | 3387 | struct GetSquareStatusResponse { 3388 | 1: SquareStatus squareStatus; 3389 | } 3390 | 3391 | struct GetNoteStatusRequest { 3392 | 2: string squareMid; 3393 | } 3394 | 3395 | struct GetNoteStatusResponse { 3396 | 1: string squareMid; 3397 | 2: NoteStatus status; 3398 | } 3399 | 3400 | struct CreateSquareChatAnnouncementRequest { 3401 | 1: i32 reqSeq; 3402 | 2: string squareChatMid; 3403 | 3: SquareChatAnnouncement squareChatAnnouncement; 3404 | } 3405 | 3406 | struct CreateSquareChatAnnouncementResponse { 3407 | 1: SquareChatAnnouncement announcement; 3408 | } 3409 | 3410 | struct DeleteSquareChatAnnouncementRequest { 3411 | 2: string squareChatMid; 3412 | 3: i64 announcementSeq; 3413 | } 3414 | 3415 | struct DeleteSquareChatAnnouncementResponse { 3416 | 3417 | } 3418 | 3419 | struct GetSquareChatAnnouncementsRequest { 3420 | 2: string squareChatMid; 3421 | } 3422 | 3423 | struct GetSquareChatAnnouncementsResponse { 3424 | 1: list announcements; 3425 | } 3426 | 3427 | struct GetJoinedSquareChatsRequest { 3428 | 2: string continuationToken; 3429 | 3: i32 limit; 3430 | } 3431 | 3432 | struct GetJoinedSquareChatsResponse { 3433 | 1: list chats; 3434 | 2: map chatMembers; 3435 | 3: map statuses; 3436 | 4: string continuationToken; 3437 | } 3438 | 3439 | exception TalkException { 3440 | 1: ErrorCode code; 3441 | 2: string reason; 3442 | 3: map parameterMap; 3443 | } 3444 | 3445 | exception ShouldSyncException { 3446 | 1: i64 syncOpRevision; 3447 | 2: SyncScope syncScope; 3448 | 3: SyncTriggerReason syncReason; 3449 | 4: string message; 3450 | } 3451 | 3452 | exception PointException { 3453 | 1: PointErrorCode code; 3454 | 2: string reason; 3455 | 3: map extra; 3456 | } 3457 | 3458 | exception ChannelException { 3459 | 1: ChannelErrorCode code; 3460 | 2: string reason; 3461 | 3: map parameterMap; 3462 | } 3463 | 3464 | exception SquareException { 3465 | 1: SQErrorCode errorCode; 3466 | 2: ErrorExtraInfo errorExtraInfo; 3467 | 3: string reason; 3468 | } 3469 | 3470 | exception UniversalNotificationServiceException { 3471 | 1: UniversalNotificationServiceErrorCode code; 3472 | 2: string reason; 3473 | 3: map parameterMap; 3474 | } 3475 | 3476 | struct UpdateBuddyProfileResult { 3477 | 1: string requestId; 3478 | 2: BuddyResultState state; 3479 | 3: i32 eventNo; 3480 | 11: i64 receiverCount; 3481 | 12: i64 successCount; 3482 | 13: i64 failCount; 3483 | 14: i64 cancelCount; 3484 | 15: i64 unregisterCount; 3485 | 21: i64 timestamp; 3486 | 22: string message; 3487 | } 3488 | 3489 | struct UserAuthStatus { 3490 | 1: bool phoneNumberRegistered; 3491 | 2: list registeredSnsIdTypes; 3492 | } 3493 | 3494 | struct WapInvitation { 3495 | 1: WapInvitationType type; 3496 | 10: string inviteeEmail; 3497 | 11: string inviterMid; 3498 | 12: string roomMid; 3499 | } 3500 | 3501 | struct GroupCall { 3502 | 1: bool online; 3503 | 2: string chatMid; 3504 | 3: string hostMids; 3505 | 4: list memberMids; 3506 | 5: i64 started; 3507 | 6: GroupCallMediaType mediaType; 3508 | } 3509 | 3510 | struct GroupCallRoute { 3511 | 1: string token; 3512 | 2: CallHost cscf; 3513 | 3: CallHost mix; 3514 | } 3515 | 3516 | service AccountSupervisorService { 3517 | RSAKey getRSAKey() throws(1: TalkException e); 3518 | 3519 | void notifyEmailConfirmationResult( 3520 | 2: map parameterMap) throws(1: TalkException e); 3521 | 3522 | string registerVirtualAccount( 3523 | 2: string locale, 3524 | 3: string encryptedVirtualUserId, 3525 | 4: string encryptedPassword) throws(1: TalkException e); 3526 | 3527 | void requestVirtualAccountPasswordChange( 3528 | 2: string virtualMid, 3529 | 3: string encryptedVirtualUserId, 3530 | 4: string encryptedOldPassword, 3531 | 5: string encryptedNewPassword) throws(1: TalkException e); 3532 | 3533 | void requestVirtualAccountPasswordSet( 3534 | 2: string virtualMid, 3535 | 3: string encryptedVirtualUserId, 3536 | 4: string encryptedNewPassword) throws(1: TalkException e); 3537 | 3538 | void unregisterVirtualAccount( 3539 | 2: string virtualMid) throws(1: TalkException e); 3540 | } 3541 | 3542 | service SpotService { 3543 | 3544 | SpotPhoneNumberResponse lookupByPhoneNumber( 3545 | 2: string countryAreaCode, 3546 | 3: string phoneNumber) throws (1: TalkException e); 3547 | 3548 | SpotNearbyResponse lookupNearby( 3549 | 2: Location location, 3550 | 3: SpotCategory category, 3551 | 4: string query, 3552 | 5: string countryAreaCode) throws (1: TalkException e); 3553 | 3554 | } 3555 | 3556 | service BotService { 3557 | void notifyLeaveGroup( 3558 | 1: string groupMid) throws (1: TalkException e); 3559 | 3560 | void notifyLeaveRoom( 3561 | 1: string roomMid) throws (1: TalkException e); 3562 | 3563 | BotUseInfo getBotUseInfo( 3564 | 2: string botMid, 3565 | ) throws (1: TalkException e) 3566 | 3567 | void sendChatCheckedByWatermark( 3568 | 1: i32 seq, 3569 | 2: string mid, 3570 | 3: i64 watermark, 3571 | 4: i8 sessionId, 3572 | ) throws (1: TalkException e); 3573 | 3574 | } 3575 | 3576 | service AgeCheckService { 3577 | 3578 | UserAgeType checkUserAge( 3579 | 2: CarrierCode carrier, 3580 | 3: string sessionId, 3581 | 4: string verifier, 3582 | 5: i32 standardAge) throws(1: TalkException e); 3583 | 3584 | AgeCheckDocomoResult checkUserAgeWithDocomo( 3585 | 2: string openIdRedirectUrl, 3586 | 3: i32 standardAge, 3587 | 4: string verifier) throws(1: TalkException e); 3588 | 3589 | string retrieveOpenIdAuthUrlWithDocomo() throws(1: TalkException e); 3590 | 3591 | AgeCheckRequestResult retrieveRequestToken( 3592 | 2: CarrierCode carrier) throws(1: TalkException e); 3593 | 3594 | } 3595 | 3596 | service BuddyManagementService { 3597 | 3598 | void addBuddyMember( 3599 | 1: string requestId, 3600 | 2: string userMid) throws(1: TalkException e); 3601 | 3602 | void addBuddyMembers( 3603 | 1: string requestId, 3604 | 2: list userMids) throws(1: TalkException e); 3605 | 3606 | void blockBuddyMember( 3607 | 1: string requestId, 3608 | 2: string mid) throws(1: TalkException e); 3609 | 3610 | list commitSendMessagesToAll( 3611 | 1: list requestIdList) throws(1: TalkException e); 3612 | 3613 | list commitSendMessagesToMids( 3614 | 1: list requestIdList, 3615 | 2: list mids) throws(1: TalkException e); 3616 | 3617 | bool containsBuddyMember( 3618 | 1: string requestId, 3619 | 2: string userMid) throws(1: TalkException e); 3620 | 3621 | binary downloadMessageContent( 3622 | 1: string requestId, 3623 | 2: string messageId) throws(1: TalkException e); 3624 | 3625 | binary downloadMessageContentPreview( 3626 | 1: string requestId, 3627 | 2: string messageId) throws(1: TalkException e); 3628 | 3629 | binary downloadProfileImage( 3630 | 1: string requestId) throws(1: TalkException e); 3631 | 3632 | binary downloadProfileImagePreview( 3633 | 1: string requestId) throws(1: TalkException e); 3634 | 3635 | i64 getActiveMemberCountByBuddyMid( 3636 | 2: string buddyMid) throws(1: TalkException e); 3637 | 3638 | list getActiveMemberMidsByBuddyMid( 3639 | 2: string buddyMid) throws(1: TalkException e); 3640 | 3641 | list getAllBuddyMembers() throws(1: TalkException e); 3642 | 3643 | list getBlockedBuddyMembers() throws(1: TalkException e); 3644 | 3645 | i64 getBlockerCountByBuddyMid( 3646 | 2: string buddyMid) throws(1: TalkException e); 3647 | 3648 | BuddyDetail getBuddyDetailByMid( 3649 | 2: string buddyMid) throws(1: TalkException e); 3650 | 3651 | BuddyProfile getBuddyProfile() throws(1: TalkException e); 3652 | 3653 | Ticket getContactTicket() throws(1: TalkException e); 3654 | 3655 | i64 getMemberCountByBuddyMid( 3656 | 2: string buddyMid) throws(1: TalkException e); 3657 | 3658 | SendBuddyMessageResult getSendBuddyMessageResult( 3659 | 1: string sendBuddyMessageRequestId) throws(1: TalkException e); 3660 | 3661 | SetBuddyOnAirResult getSetBuddyOnAirResult( 3662 | 1: string setBuddyOnAirRequestId) throws(1: TalkException e); 3663 | 3664 | UpdateBuddyProfileResult getUpdateBuddyProfileResult( 3665 | 1: string updateBuddyProfileRequestId) throws(1: TalkException e); 3666 | 3667 | bool isBuddyOnAirByMid( 3668 | 2: string buddyMid) throws(1: TalkException e); 3669 | 3670 | string linkAndSendBuddyContentMessageToAllAsync( 3671 | 1: string requestId, 3672 | 2: Message msg, 3673 | 3: string sourceContentId) throws(1: TalkException e); 3674 | 3675 | SendBuddyMessageResult linkAndSendBuddyContentMessageToMids( 3676 | 1: string requestId, 3677 | 2: Message msg, 3678 | 3: string sourceContentId, 3679 | 4: list mids) throws(1: TalkException e); 3680 | 3681 | void notifyBuddyBlocked( 3682 | 1: string buddyMid, 3683 | 2: string blockerMid) throws(1: TalkException e); 3684 | 3685 | void notifyBuddyUnblocked( 3686 | 1: string buddyMid, 3687 | 2: string blockerMid) throws(1: TalkException e); 3688 | 3689 | string registerBuddy( 3690 | 2: string buddyId, 3691 | 3: string searchId, 3692 | 4: string displayName, 3693 | 5: string statusMeessage, 3694 | 6: binary picture, 3695 | 7: map settings) throws(1: TalkException e); 3696 | 3697 | string registerBuddyAdmin( 3698 | 2: string buddyId, 3699 | 3: string searchId, 3700 | 4: string displayName, 3701 | 5: string statusMessage, 3702 | 6: binary picture) throws(1: TalkException e); 3703 | 3704 | string reissueContactTicket( 3705 | 3: i64 expirationTime, 3706 | 4: i32 maxUseCount) throws(1: TalkException e); 3707 | 3708 | void removeBuddyMember( 3709 | 1: string requestId, 3710 | 2: string userMid) throws(1: TalkException e); 3711 | 3712 | void removeBuddyMembers( 3713 | 1: string requestId, 3714 | 2: list userMids) throws(1: TalkException e); 3715 | 3716 | SendBuddyMessageResult sendBuddyContentMessageToAll( 3717 | 1: string requestId, 3718 | 2: Message msg, 3719 | 3: binary content) throws(1: TalkException e); 3720 | 3721 | string sendBuddyContentMessageToAllAsync( 3722 | 1: string requestId, 3723 | 2: Message msg, 3724 | 3: binary content) throws(1: TalkException e); 3725 | 3726 | SendBuddyMessageResult sendBuddyContentMessageToMids( 3727 | 1: string requestId, 3728 | 2: Message msg, 3729 | 3: binary content, 3730 | 4: list mids) throws(1: TalkException e); 3731 | 3732 | string sendBuddyContentMessageToMidsAsync( 3733 | 1: string requestId, 3734 | 2: Message msg, 3735 | 3: binary content, 3736 | 4: list mids) throws(1: TalkException e); 3737 | 3738 | SendBuddyMessageResult sendBuddyMessageToAll( 3739 | 1: string requestId, 3740 | 2: Message msg) throws(1: TalkException e); 3741 | 3742 | string sendBuddyMessageToAllAsync( 3743 | 1: string requestId, 3744 | 2: Message msg) throws(1: TalkException e); 3745 | 3746 | SendBuddyMessageResult sendBuddyMessageToMids( 3747 | 1: string requestId, 3748 | 2: Message msg, 3749 | 3: list mids) throws(1: TalkException e); 3750 | 3751 | string sendBuddyMessageToMidsAsync( 3752 | 1: string requestId, 3753 | 2: Message msg, 3754 | 3: list mids) throws(1: TalkException e); 3755 | 3756 | void sendIndividualEventToAllAsync( 3757 | 1: string requestId, 3758 | 2: string buddyMid, 3759 | 3: NotificationStatus notificationStatus) throws(1: TalkException e); 3760 | 3761 | SetBuddyOnAirResult setBuddyOnAir( 3762 | 1: string requestId, 3763 | 2: bool onAir) throws(1: TalkException e); 3764 | 3765 | string setBuddyOnAirAsync( 3766 | 1: string requestId, 3767 | 2: bool onAir) throws(1: TalkException e); 3768 | 3769 | SendBuddyMessageResult storeMessage( 3770 | 1: string requestId, 3771 | 2: BuddyMessageRequest messageRequest) throws(1: TalkException e); 3772 | 3773 | void unblockBuddyMember( 3774 | 1: string requestId, 3775 | 2: string mid) throws(1: TalkException e); 3776 | 3777 | void unregisterBuddy( 3778 | 1: string requestId) throws(1: TalkException e); 3779 | 3780 | void unregisterBuddyAdmin( 3781 | 1: string requestId) throws(1: TalkException e); 3782 | 3783 | void updateBuddyAdminProfileAttribute( 3784 | 1: string requestId, 3785 | 2: map attributes) throws(1: TalkException e); 3786 | 3787 | void updateBuddyAdminProfileImage( 3788 | 1: string requestId, 3789 | 2: binary picture) throws(1: TalkException e); 3790 | 3791 | UpdateBuddyProfileResult updateBuddyProfileAttributes( 3792 | 1: string requestId, 3793 | 2: map attributes) throws(1: TalkException e); 3794 | 3795 | string updateBuddyProfileAttributesAsync( 3796 | 1: string requestId, 3797 | 2: map attributes) throws(1: TalkException e); 3798 | 3799 | UpdateBuddyProfileResult updateBuddyProfileImage( 3800 | 1: string requestId, 3801 | 2: binary image) throws(1: TalkException e); 3802 | 3803 | string updateBuddyProfileImageAsync( 3804 | 1: string requestId, 3805 | 2: binary image) throws(1: TalkException e); 3806 | 3807 | void updateBuddySearchId( 3808 | 1: string requestId, 3809 | 2: string searchId) throws(1: TalkException e); 3810 | 3811 | void updateBuddySettings( 3812 | 2: map settings) throws(1: TalkException e); 3813 | 3814 | string uploadBuddyContent( 3815 | 2: ContentType contentType, 3816 | 3: binary content) throws(1: TalkException e); 3817 | 3818 | } 3819 | 3820 | service BuddyService { 3821 | 3822 | list findBuddyContactsByQuery( 3823 | 2: string language, 3824 | 3: string country, 3825 | 4: string query, 3826 | 5: i32 fromIndex, 3827 | 6: i32 count, 3828 | 7: BuddySearchRequestSource requestSource) throws(1: TalkException e); 3829 | 3830 | list getBuddyContacts( 3831 | 2: string language, 3832 | 3: string country, 3833 | 4: string classification, 3834 | 5: i32 fromIndex, 3835 | 6: i32 count) throws(1: TalkException e); 3836 | 3837 | BuddyDetail getBuddyDetail( 3838 | 4: string buddyMid) throws(1: TalkException e); 3839 | 3840 | BuddyOnAir getBuddyOnAir( 3841 | 4: string buddyMid) throws(1: TalkException e); 3842 | 3843 | list getCountriesHavingBuddy() throws(1: TalkException e); 3844 | 3845 | map getNewlyReleasedBuddyIds( 3846 | 3: string country) throws(1: TalkException e); 3847 | 3848 | BuddyBanner getPopularBuddyBanner( 3849 | 2: string language, 3850 | 3: string country, 3851 | 4: ApplicationType applicationType, 3852 | 5: string resourceSpecification) throws(1: TalkException e); 3853 | 3854 | list getPopularBuddyLists( 3855 | 2: string language, 3856 | 3: string country) throws(1: TalkException e); 3857 | 3858 | list getPromotedBuddyContacts( 3859 | 2: string language, 3860 | 3: string country) throws(1: TalkException e); 3861 | 3862 | } 3863 | 3864 | service ChannelApplicationProvidedService { 3865 | 3866 | i64 activeBuddySubscriberCount() throws(1: TalkException e); 3867 | 3868 | void addOperationForChannel( 3869 | 1: OpType opType, 3870 | 2: string param1, 3871 | 3: string param2, 3872 | 4: string param3) throws(1: TalkException e); 3873 | 3874 | i64 displayBuddySubscriberCount() throws(1: TalkException e); 3875 | 3876 | Contact findContactByUseridWithoutAbuseBlockForChannel( 3877 | 2: string userid) throws(1: TalkException e); 3878 | 3879 | list getAllContactIdsForChannel() throws(1: TalkException e); 3880 | 3881 | list getCompactContacts( 3882 | 2: i64 lastModifiedTimestamp) throws(1: TalkException e); 3883 | 3884 | list getContactsForChannel( 3885 | 2: list ids) throws(1: TalkException e); 3886 | 3887 | string getDisplayName( 3888 | 2: string mid) throws(1: TalkException e); 3889 | 3890 | list getFavoriteMidsForChannel() throws(1: TalkException e); 3891 | 3892 | list getFriendMids() throws(1: TalkException e); 3893 | 3894 | list getGroupMemberMids( 3895 | 1: string groupId) throws(1: TalkException e); 3896 | 3897 | list getGroupsForChannel( 3898 | 1: list groupIds) throws(1: TalkException e); 3899 | 3900 | IdentityCredential getIdentityCredential() throws(1: TalkException e); 3901 | 3902 | list getJoinedGroupIdsForChannel() throws(1: TalkException e); 3903 | 3904 | MetaProfile getMetaProfile() throws(1: TalkException e); 3905 | 3906 | string getMid() throws(1: TalkException e); 3907 | 3908 | SimpleChannelClient getPrimaryClientForChannel() throws(1: TalkException e); 3909 | 3910 | Profile getProfileForChannel() throws(1: TalkException e); 3911 | 3912 | list getSimpleChannelContacts( 3913 | 1: list ids) throws(1: TalkException e); 3914 | 3915 | string getUserCountryForBilling( 3916 | 2: string country, 3917 | 3: string remoteIp) throws(1: TalkException e); 3918 | 3919 | i64 getUserCreateTime() throws(1: TalkException e); 3920 | 3921 | map getUserIdentities() throws(1: TalkException e); 3922 | 3923 | string getUserLanguage() throws(1: TalkException e); 3924 | 3925 | list getUserMidsWhoAddedMe() throws(1: TalkException e); 3926 | 3927 | bool isGroupMember( 3928 | 1: string groupId) throws(1: TalkException e); 3929 | 3930 | bool isInContact( 3931 | 2: string mid) throws(1: TalkException e); 3932 | 3933 | string registerChannelCP( 3934 | 2: string cpId, 3935 | 3: string registerPassword) throws(1: TalkException e); 3936 | 3937 | void removeNotificationStatus( 3938 | 2: NotificationStatus notificationStatus) throws(1: TalkException e); 3939 | 3940 | Message sendMessageForChannel( 3941 | 2: Message message) throws(1: TalkException e); 3942 | 3943 | void sendPinCodeOperation( 3944 | 1: string verifier) throws(1: TalkException e); 3945 | 3946 | void updateProfileAttributeForChannel( 3947 | 2: ProfileAttribute profileAttribute, 3948 | 3: string value) throws(1: TalkException e); 3949 | 3950 | } 3951 | 3952 | service ChannelService { 3953 | 3954 | OTPResult issueOTP( 3955 | 2: string channelId) throws (1: ChannelException e); 3956 | 3957 | ChannelToken approveChannelAndIssueChannelToken( 3958 | 1: string channelId) throws(1: ChannelException e); 3959 | 3960 | string approveChannelAndIssueRequestToken( 3961 | 1: string channelId, 3962 | 2: string otpId) throws(1: ChannelException e); 3963 | 3964 | NotificationFetchResult fetchNotificationItems( 3965 | 2: i64 localRev) throws(1: ChannelException e); 3966 | 3967 | ApprovedChannelInfos getApprovedChannels( 3968 | 2: i64 lastSynced, 3969 | 3: string locale) throws(1: ChannelException e); 3970 | 3971 | ChannelInfo getChannelInfo( 3972 | 2: string channelId, 3973 | 3: string locale) throws(1: ChannelException e); 3974 | 3975 | ChannelNotificationSetting getChannelNotificationSetting( 3976 | 1: string channelId, 3977 | 2: string locale) throws(1: ChannelException e); 3978 | 3979 | list getChannelNotificationSettings( 3980 | 1: string locale) throws(1: ChannelException e); 3981 | 3982 | ChannelInfos getChannels( 3983 | 2: i64 lastSynced, 3984 | 3: string locale) throws(1: ChannelException e); 3985 | 3986 | ChannelDomains getDomains( 3987 | 2: i64 lastSynced) throws(1: ChannelException e); 3988 | 3989 | FriendChannelMatricesResponse getFriendChannelMatrices( 3990 | 1: list channelIds) throws(1: ChannelException e); 3991 | 3992 | bool updateChannelSettings( 3993 | 1: ChannelSettings channelSettings) throws (1: ChannelException e) 3994 | 3995 | ChannelDomains getCommonDomains( 3996 | 1: i64 lastSynced) throws (1: ChannelException e); 3997 | 3998 | i32 getNotificationBadgeCount( 3999 | 2: i64 localRev) throws(1: ChannelException e); 4000 | 4001 | ChannelToken issueChannelToken( 4002 | 1: string channelId) throws(1: ChannelException e); 4003 | 4004 | string issueRequestToken( 4005 | 1: string channelId, 4006 | 2: string otpId) throws(1: ChannelException e); 4007 | 4008 | RequestTokenResponse issueRequestTokenWithAuthScheme( 4009 | 1: string channelId, 4010 | 2: string otpId, 4011 | 3: list authScheme, 4012 | 4: string returnUrl) throws(1: ChannelException e); 4013 | 4014 | string issueRequestTokenForAutoLogin( 4015 | 2: string channelId, 4016 | 3: string otpId, 4017 | 4: string redirectUrl) throws (1: ChannelException e); 4018 | 4019 | list getUpdatedChannelIds( 4020 | 1: list channelIds) throws (1: ChannelException e); 4021 | 4022 | string reserveCoinUse( 4023 | 2: CoinUseReservation request, 4024 | 3: string locale) throws(1: ChannelException e); 4025 | 4026 | void revokeChannel( 4027 | 1: string channelId) throws(1: ChannelException e); 4028 | 4029 | ChannelSyncDatas syncChannelData( 4030 | 2: i64 lastSynced, 4031 | 3: string locale) throws(1: ChannelException e); 4032 | 4033 | void updateChannelNotificationSetting( 4034 | 1: list setting) throws(1: ChannelException e); 4035 | 4036 | } 4037 | 4038 | service MessageService { 4039 | 4040 | MessageOperations fetchMessageOperations( 4041 | 2: i64 localRevision, 4042 | 3: i64 lastOpTimestamp, 4043 | 4: i32 count) throws(1: TalkException e); 4044 | 4045 | LastReadMessageIds getLastReadMessageIds( 4046 | 2: string chatId) throws(1: TalkException e); 4047 | 4048 | list multiGetLastReadMessageIds( 4049 | 2: list chatIds) throws(1: TalkException e); 4050 | 4051 | } 4052 | 4053 | service ShopService { 4054 | 4055 | void buyCoinProduct( 4056 | 2: PaymentReservation paymentReservation) throws(1: TalkException e); 4057 | 4058 | void buyFreeProduct( 4059 | 2: string receiverMid, 4060 | 3: string productId, 4061 | 4: i32 messageTemplate, 4062 | 5: string language, 4063 | 6: string country, 4064 | 7: i64 packageId) throws(1: TalkException e); 4065 | 4066 | void buyMustbuyProduct( 4067 | 2: string receiverMid, 4068 | 3: string productId, 4069 | 4: i32 messageTemplate, 4070 | 5: string language, 4071 | 6: string country, 4072 | 7: i64 packageId, 4073 | 8: string serialNumber) throws(1: TalkException e); 4074 | 4075 | void checkCanReceivePresent( 4076 | 2: string recipientMid, 4077 | 3: i64 packageId, 4078 | 4: string language, 4079 | 5: string country) throws(1: TalkException e); 4080 | 4081 | ProductList getActivePurchases( 4082 | 2: i64 start, 4083 | 3: i32 size, 4084 | 4: string language, 4085 | 5: string country) throws(1: TalkException e); 4086 | 4087 | ProductSimpleList getActivePurchaseVersions( 4088 | 2: i64 start, 4089 | 3: i32 size, 4090 | 4: string language, 4091 | 5: string country) throws(1: TalkException e); 4092 | 4093 | list getCoinProducts( 4094 | 2: PaymentType appStoreCode, 4095 | 3: string country, 4096 | 4: string language) throws(1: TalkException e); 4097 | 4098 | list getCoinProductsByPgCode( 4099 | 2: PaymentType appStoreCode, 4100 | 3: PaymentPgType pgCode, 4101 | 4: string country, 4102 | 5: string language) throws(1: TalkException e); 4103 | 4104 | CoinHistoryResult getCoinPurchaseHistory( 4105 | 2: CoinHistoryCondition request) throws(1: TalkException e); 4106 | 4107 | CoinHistoryResult getCoinUseAndRefundHistory( 4108 | 2: CoinHistoryCondition request) throws(1: TalkException e); 4109 | 4110 | ProductList getDownloads( 4111 | 2: i64 start, 4112 | 3: i32 size, 4113 | 4: string language, 4114 | 5: string country) throws(1: TalkException e); 4115 | 4116 | ProductList getEventPackages( 4117 | 2: i64 start, 4118 | 3: i32 size, 4119 | 4: string language, 4120 | 5: string country) throws(1: TalkException e); 4121 | 4122 | ProductList getNewlyReleasedPackages( 4123 | 2: i64 start, 4124 | 3: i32 size, 4125 | 4: string language, 4126 | 5: string country) throws(1: TalkException e); 4127 | 4128 | ProductList getPopularPackages( 4129 | 2: i64 start, 4130 | 3: i32 size, 4131 | 4: string language, 4132 | 5: string country) throws(1: TalkException e); 4133 | 4134 | ProductList getPresentsReceived( 4135 | 2: i64 start, 4136 | 3: i32 size, 4137 | 4: string language, 4138 | 5: string country) throws(1: TalkException e); 4139 | 4140 | ProductList getPresentsSent( 4141 | 2: i64 start, 4142 | 3: i32 size, 4143 | 4: string language, 4144 | 5: string country) throws(1: TalkException e); 4145 | 4146 | Product getProduct( 4147 | 2: i64 packageID, 4148 | 3: string language, 4149 | 4: string country) throws(1: TalkException e); 4150 | 4151 | ProductList getProductList( 4152 | 2: list productIdList, 4153 | 3: string language, 4154 | 4: string country) throws(1: TalkException e); 4155 | 4156 | ProductList getProductListWithCarrier( 4157 | 2: list productIdList, 4158 | 3: string language, 4159 | 4: string country, 4160 | 5: string carrierCode) throws(1: TalkException e); 4161 | 4162 | Product getProductWithCarrier( 4163 | 2: i64 packageID, 4164 | 3: string language, 4165 | 4: string country, 4166 | 5: string carrierCode) throws(1: TalkException e); 4167 | 4168 | ProductList getPurchaseHistory( 4169 | 2: i64 start, 4170 | 3: i32 size, 4171 | 4: string language, 4172 | 5: string country) throws(1: TalkException e); 4173 | 4174 | Coin getTotalBalance( 4175 | 2: PaymentType appStoreCode) throws(1: TalkException e); 4176 | 4177 | i64 notifyDownloaded( 4178 | 2: i64 packageId, 4179 | 3: string language) throws(1: TalkException e); 4180 | 4181 | PaymentReservationResult reserveCoinPurchase( 4182 | 2: CoinPurchaseReservation request) throws(1: TalkException e); 4183 | 4184 | PaymentReservationResult reservePayment( 4185 | 2: PaymentReservation paymentReservation) throws(1: TalkException e); 4186 | } 4187 | 4188 | service SnsAdaptorService { 4189 | SnsFriends getSnsFriends( 4190 | 2: SnsIdType snsIdType, 4191 | 3: string snsAccessToken, 4192 | 4: i32 startIdx, 4193 | 5: i32 limit) throws(1: TalkException e); 4194 | 4195 | SnsProfile getSnsMyProfile( 4196 | 2: SnsIdType snsIdType, 4197 | 3: string snsAccessToken) throws(1: TalkException e); 4198 | 4199 | void postSnsInvitationMessage( 4200 | 2: SnsIdType snsIdType, 4201 | 3: string snsAccessToken, 4202 | 4: string toSnsUserId) throws(1: TalkException e); 4203 | } 4204 | 4205 | service TalkService { 4206 | 4207 | map> getChatRoomAnnouncementsBulk( 4208 | 2: list chatRoomMids) throws (1: TalkException e); 4209 | 4210 | list getChatRoomAnnouncements( 4211 | 2: string chatRoomMid) throws (1: TalkException e); 4212 | 4213 | ChatRoomAnnouncement createChatRoomAnnouncement( 4214 | 1: i32 reqSeq, 4215 | 2: string chatRoomMid, 4216 | 3: ChatRoomAnnouncementType type, 4217 | 4: ChatRoomAnnouncementContents contents) throws (1: TalkException e); 4218 | 4219 | void removeChatRoomAnnouncement( 4220 | 1: i32 reqSeq, 4221 | 2: string chatRoomMid, 4222 | 3: i64 announcementSeq) throws (1: TalkException e); 4223 | 4224 | void unsendMessage( 4225 | 1: i32 seq, 4226 | 2: string messageId) throws (1: TalkException e); 4227 | 4228 | Group getGroupWithoutMembers( 4229 | 2: string groupId) throws (1: TalkException e); 4230 | 4231 | void requestResendMessage( 4232 | 1: i32 reqSeq, 4233 | 2: string senderMid, 4234 | 3: string messageId) throws (1: TalkException e); 4235 | 4236 | void respondResendMessage( 4237 | 1: i32 reqSeq, 4238 | 2: string receiverMid, 4239 | 3: string originalMessageId, 4240 | 4: Message resendMessage, 4241 | 5: ErrorCode errorCode) throws (1: TalkException e); 4242 | 4243 | void acceptGroupInvitation( 4244 | 1: i32 reqSeq, 4245 | 2: string groupId) throws(1: TalkException e); 4246 | 4247 | void acceptGroupInvitationByTicket( 4248 | 1: i32 reqSeq, 4249 | 2: string GroupMid, 4250 | 3: string ticketId) throws(1: TalkException e); 4251 | 4252 | void acceptProximityMatches( 4253 | 2: string sessionId, 4254 | 3: set ids) throws(1: TalkException e); 4255 | 4256 | list acquireCallRoute( 4257 | 2: string to) throws(1: TalkException e); 4258 | 4259 | string acquireCallTicket( 4260 | 2: string to) throws(1: TalkException e); 4261 | 4262 | string acquireEncryptedAccessToken( 4263 | 2: FeatureType featureType) throws(1: TalkException e); 4264 | 4265 | string addSnsId( 4266 | 2: SnsIdType snsIdType, 4267 | 3: string snsAccessToken) throws(1: TalkException e); 4268 | 4269 | void blockContact( 4270 | 1: i32 reqSeq, 4271 | 2: string id) throws(1: TalkException e); 4272 | 4273 | void blockRecommendation( 4274 | 1: i32 reqSeq, 4275 | 2: string id) throws(1: TalkException e); 4276 | 4277 | void cancelGroupInvitation( 4278 | 1: i32 reqSeq, 4279 | 2: string groupId, 4280 | 3: list contactIds) throws(1: TalkException e); 4281 | 4282 | VerificationSessionData changeVerificationMethod( 4283 | 2: string sessionId, 4284 | 3: VerificationMethod method) throws(1: TalkException e); 4285 | 4286 | void clearIdentityCredential() throws(1: TalkException e); 4287 | 4288 | void clearMessageBox( 4289 | 2: string channelId, 4290 | 3: string messageBoxId) throws(1: TalkException e); 4291 | 4292 | void closeProximityMatch( 4293 | 2: string sessionId) throws(1: TalkException e); 4294 | 4295 | map commitSendMessage( 4296 | 1: i32 seq, 4297 | 2: string messageId, 4298 | 3: list receiverMids) throws(1: TalkException e); 4299 | 4300 | map commitSendMessages( 4301 | 1: i32 seq, 4302 | 2: list messageIds, 4303 | 3: list receiverMids) throws(1: TalkException e); 4304 | 4305 | map commitUpdateProfile( 4306 | 1: i32 seq, 4307 | 2: list attrs, 4308 | 3: list receiverMids) throws(1: TalkException e); 4309 | 4310 | void confirmEmail( 4311 | 2: string verifier, 4312 | 3: string pinCode) throws(1: TalkException e); 4313 | 4314 | Group createGroup( 4315 | 1: i32 seq, 4316 | 2: string name, 4317 | 3: list contactIds) throws(1: TalkException e); 4318 | 4319 | string createQrcodeBase64Image( 4320 | 2: string url, 4321 | 3: string characterSet, 4322 | 4: i32 imageSize, 4323 | 5: i32 x, 4324 | 6: i32 y, 4325 | 7: i32 width, 4326 | 8: i32 height) throws(1: TalkException e); 4327 | 4328 | Room createRoom( 4329 | 1: i32 reqSeq, 4330 | 2: list contactIds) throws(1: TalkException e); 4331 | 4332 | string createSession() throws(1: TalkException e); 4333 | 4334 | list fetchAnnouncements( 4335 | 2: i32 lastFetchedIndex) throws(1: TalkException e); 4336 | 4337 | list fetchMessages( 4338 | 2: i64 localTs, 4339 | 3: i32 count) throws(1: TalkException e); 4340 | 4341 | list fetchOperations( 4342 | 2: i64 localRev, 4343 | 3: i32 count) throws(1: ShouldSyncException e); 4344 | 4345 | list fetchOps( 4346 | 2: i64 localRev, 4347 | 3: i32 count, 4348 | 4: i64 globalRev, 4349 | 5: i64 individualRev) throws (1: ShouldSyncException e); 4350 | 4351 | map findAndAddContactsByEmail( 4352 | 1: i32 reqSeq, 4353 | 2: set emails) throws(1: TalkException e); 4354 | 4355 | map findAndAddContactsByMid( 4356 | 1: i32 reqSeq, 4357 | 2: string mid, 4358 | 3: ContactType type, 4359 | 4: string reference) throws (1: TalkException e); 4360 | 4361 | Group findGroupByTicketV2( 4362 | 1: string ticketId) throws (1: TalkException e); 4363 | 4364 | map findAndAddContactsByPhone( 4365 | 1: i32 reqSeq, 4366 | 2: set phones) throws(1: TalkException e); 4367 | 4368 | list getFriendRequests( 4369 | 1: FriendRequestDirection direction, 4370 | 2: i64 lastSeenSeqId) throws (1: TalkException e); 4371 | 4372 | void removeFriendRequest( 4373 | 1: FriendRequestDirection direction, 4374 | 2: string midOrEMid) throws (1: TalkException e); 4375 | 4376 | map findAndAddContactsByUserid( 4377 | 1: i32 reqSeq, 4378 | 2: string userid) throws(1: TalkException e); 4379 | 4380 | Contact findContactByUserid( 4381 | 2: string userid) throws(1: TalkException e); 4382 | 4383 | Contact findContactByUserTicket( 4384 | 2: string ticketIdWithTag) throws(1: TalkException e); 4385 | 4386 | map findContactsByEmail( 4387 | 2: set emails) throws(1: TalkException e); 4388 | 4389 | map findContactsByPhone( 4390 | 2: set phones) throws(1: TalkException e); 4391 | 4392 | SnsIdUserStatus findSnsIdUserStatus( 4393 | 2: SnsIdType snsIdType, 4394 | 3: string snsAccessToken, 4395 | 4: string udidHash) throws(1: TalkException e); 4396 | 4397 | void finishUpdateVerification( 4398 | 2: string sessionId) throws(1: TalkException e); 4399 | 4400 | Ticket generateUserTicket( 4401 | 3: i64 expirationTime, 4402 | 4: i32 maxUseCount) throws(1: TalkException e); 4403 | 4404 | void destroyMessage( 4405 | 1: i32 seq, 4406 | 2: string chatId, 4407 | 3: string messageId, 4408 | 4: i8 sessionId) throws (1: TalkException e); 4409 | 4410 | set getAcceptedProximityMatches( 4411 | 2: string sessionId) throws(1: TalkException e); 4412 | 4413 | list getActiveBuddySubscriberIds() throws(1: TalkException e); 4414 | 4415 | list getAllContactIds() throws(1: TalkException e); 4416 | 4417 | AuthQrcode getAuthQrcode( 4418 | 2: bool keepLoggedIn, 4419 | 3: string systemName) throws(1: TalkException e); 4420 | 4421 | list getBlockedContactIds() throws(1: TalkException e); 4422 | 4423 | RegisterWithPhoneNumberResult registerWithPhoneNumber( 4424 | 2: string sessionId, 4425 | 3: string migrationPincodeSessionId) throws (1: TalkException e); 4426 | 4427 | RegisterWithPhoneNumberResult registerWithPhoneNumberAndPassword( 4428 | 2: string sessionId, 4429 | 3: string keynm, 4430 | 4: string encrypted) throws (1: TalkException e); 4431 | 4432 | AnalyticsInfo getAnalyticsInfo() throws (1: TalkException e); 4433 | 4434 | void reportClientStatistics( 4435 | 1: i32 reqSeq, 4436 | 2: ReportCategory category, 4437 | 3: i32 count) throws (1: TalkException e); 4438 | 4439 | string verifyPhoneNumberForLogin( 4440 | 2: string verifierFromPhone, 4441 | 3: string pinCodeForPhone, 4442 | 4: string verifierFromLogin) throws (1: TalkException e); 4443 | 4444 | PhoneVerificationResult verifyPhoneNumber( 4445 | 2: string sessionId, 4446 | 3: string pinCode, 4447 | 4: string udidHash, 4448 | 5: string migrationPincodeSessionId, 4449 | 6: string oldUdidHash) throws (1: TalkException e); 4450 | 4451 | list getBlockedContactIdsByRange( 4452 | 2: i32 start, 4453 | 3: i32 count) throws(1: TalkException e); 4454 | 4455 | list getBlockedRecommendationIds() throws(1: TalkException e); 4456 | 4457 | list getBuddyBlockerIds() throws(1: TalkException e); 4458 | 4459 | Geolocation getBuddyLocation( 4460 | 2: string mid, 4461 | 3: i32 index) throws(1: TalkException e); 4462 | 4463 | list getCompactContactsModifiedSince( 4464 | 2: i64 timestamp) throws(1: TalkException e); 4465 | 4466 | Group getCompactGroup( 4467 | 2: string groupId) throws(1: TalkException e); 4468 | 4469 | Room getCompactRoom( 4470 | 2: string roomId) throws(1: TalkException e); 4471 | 4472 | Contact getContact( 4473 | 2: string id) throws(1: TalkException e); 4474 | 4475 | list getContacts( 4476 | 2: list ids) throws(1: TalkException e); 4477 | 4478 | Contact getContactWithFriendRequestStatus( 4479 | 2: string id) throws (1: TalkException e); 4480 | 4481 | string getCountryWithRequestIp() throws(1: TalkException e); 4482 | 4483 | list getFavoriteMids() throws(1: TalkException e); 4484 | 4485 | Group getGroup( 4486 | 2: string groupId) throws(1: TalkException e); 4487 | 4488 | list getGroupIdsInvited() throws(1: TalkException e); 4489 | 4490 | list getGroupIdsJoined() throws(1: TalkException e); 4491 | 4492 | list getGroups( 4493 | 2: list groupIds) throws(1: TalkException e); 4494 | 4495 | list getHiddenContactMids() throws(1: TalkException e); 4496 | 4497 | string getIdentityIdentifier() throws(1: TalkException e); 4498 | 4499 | i32 getLastAnnouncementIndex() throws(1: TalkException e); 4500 | 4501 | i64 getLastOpRevision() throws(1: TalkException e); 4502 | 4503 | SuggestDictionaryRevisions getSuggestRevisions() throws (1: TalkException e); 4504 | 4505 | list getPreviousMessagesV2WithReadCount( 4506 | 2: string messageBoxId, 4507 | 3: MessageBoxV2MessageId endMessageId, 4508 | 4: i32 messagesCount) throws (1: TalkException e); 4509 | 4510 | TMessageBox getMessageBox( 4511 | 2: string channelId, 4512 | 3: string messageBoxId, 4513 | 4: i32 lastMessagesCount) throws(1: TalkException e); 4514 | 4515 | TMessageBoxWrapUp getMessageBoxCompactWrapUp( 4516 | 2: string mid) throws(1: TalkException e); 4517 | 4518 | TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpList( 4519 | 2: i32 start, 4520 | 3: i32 messageBoxCount) throws(1: TalkException e); 4521 | 4522 | list getMessageBoxList( 4523 | 2: string channelId, 4524 | 3: i32 lastMessagesCount) throws(1: TalkException e); 4525 | 4526 | list getMessageBoxListByStatus( 4527 | 2: string channelId, 4528 | 3: i32 lastMessagesCount, 4529 | 4: i32 status) throws(1: TalkException e); 4530 | 4531 | TMessageBoxWrapUp getMessageBoxWrapUp( 4532 | 2: string mid) throws(1: TalkException e); 4533 | 4534 | TMessageBoxWrapUpResponse getMessageBoxWrapUpList( 4535 | 2: i32 start, 4536 | 3: i32 messageBoxCount) throws(1: TalkException e); 4537 | 4538 | list getMessagesBySequenceNumber( 4539 | 2: string channelId, 4540 | 3: string messageBoxId, 4541 | 4: i64 startSeq, 4542 | 5: i64 endSeq) throws(1: TalkException e); 4543 | 4544 | list getNextMessages( 4545 | 2: string messageBoxId, 4546 | 3: i64 startSeq, 4547 | 4: i32 messagesCount) throws(1: TalkException e); 4548 | 4549 | list getNotificationPolicy( 4550 | 2: CarrierCode carrier) throws(1: TalkException e); 4551 | 4552 | list getPreviousMessages( 4553 | 2: string messageBoxId, 4554 | 3: i64 endSeq, 4555 | 4: i32 messagesCount) throws(1: TalkException e); 4556 | 4557 | Profile getProfile() throws(1: TalkException e); 4558 | 4559 | ProximityMatchCandidateResult getProximityMatchCandidateList( 4560 | 2: string sessionId) throws(1: TalkException e); 4561 | 4562 | set getProximityMatchCandidates( 4563 | 2: string sessionId) throws(1: TalkException e); 4564 | 4565 | list getRecentMessages( 4566 | 2: string messageBoxId, 4567 | 3: i32 messagesCount) throws(1: TalkException e); 4568 | 4569 | list getRecommendationIds() throws(1: TalkException e); 4570 | 4571 | Room getRoom( 4572 | 2: string roomId) throws(1: TalkException e); 4573 | 4574 | RSAKey getRSAKeyInfo( 4575 | 2: IdentityProvider provider) throws(1: TalkException e); 4576 | 4577 | i64 getServerTime() throws(1: TalkException e); 4578 | 4579 | list getSessions() throws(1: TalkException e); 4580 | 4581 | Settings getSettings() throws(1: TalkException e); 4582 | 4583 | list getGroupsV2( 4584 | 2: list groupIds) throws (1: TalkException e); 4585 | 4586 | Settings getSettingsAttributes( 4587 | 2: i32 attrBitset) throws(1: TalkException e); 4588 | 4589 | SystemConfiguration getSystemConfiguration() throws(1: TalkException e); 4590 | 4591 | Ticket getUserTicket() throws(1: TalkException e); 4592 | 4593 | WapInvitation getWapInvitation( 4594 | 2: string invitationHash) throws(1: TalkException e); 4595 | 4596 | void invalidateUserTicket() throws(1: TalkException e); 4597 | 4598 | void inviteFriendsBySms( 4599 | 2: list phoneNumberList) throws(1: TalkException e); 4600 | 4601 | void inviteIntoGroup( 4602 | 1: i32 reqSeq, 4603 | 2: string groupId, 4604 | 3: list contactIds) throws(1: TalkException e); 4605 | 4606 | void inviteIntoRoom( 4607 | 1: i32 reqSeq, 4608 | 2: string roomId, 4609 | 3: list contactIds) throws(1: TalkException e); 4610 | 4611 | void inviteViaEmail( 4612 | 1: i32 reqSeq, 4613 | 2: string email, 4614 | 3: string name) throws(1: TalkException e); 4615 | 4616 | bool isIdentityIdentifierAvailable( 4617 | 3: IdentityProvider provider, 4618 | 2: string identifier) throws(1: TalkException e); 4619 | 4620 | bool isUseridAvailable( 4621 | 2: string userid) throws(1: TalkException e); 4622 | 4623 | void kickoutFromGroup( 4624 | 1: i32 reqSeq, 4625 | 2: string groupId, 4626 | 3: list contactIds) throws(1: TalkException e); 4627 | 4628 | string reissueGroupTicket( 4629 | 1: string groupMid 4630 | ) throws(1: TalkException e); 4631 | 4632 | Group findGroupByTicket( 4633 | 1: string ticketId 4634 | ) throws(1: TalkException e); 4635 | 4636 | void leaveGroup( 4637 | 1: i32 reqSeq, 4638 | 2: string groupId) throws(1: TalkException e); 4639 | 4640 | void leaveRoom( 4641 | 1: i32 reqSeq, 4642 | 2: string roomId) throws(1: TalkException e); 4643 | 4644 | string loginWithIdentityCredential( 4645 | 8: IdentityProvider identityProvider, 4646 | 3: string identifier, 4647 | 4: string password, 4648 | 5: bool keepLoggedIn, 4649 | 6: string accessLocation, 4650 | 7: string systemName, 4651 | 9: string certificate) throws(1: TalkException e); 4652 | 4653 | LoginResult loginWithIdentityCredentialForCertificate( 4654 | 8: IdentityProvider identityProvider, 4655 | 3: string identifier, 4656 | 4: string password, 4657 | 5: bool keepLoggedIn, 4658 | 6: string accessLocation, 4659 | 7: string systemName, 4660 | 9: string certificate) throws(1: TalkException e); 4661 | 4662 | string loginWithVerifier( 4663 | 3: string verifier) throws(1: TalkException e); 4664 | 4665 | LoginResult loginWithVerifierForCerificate( 4666 | 3: string verifier) throws(1: TalkException e); 4667 | 4668 | LoginResult loginWithVerifierForCertificate( 4669 | 3: string verifier) throws(1: TalkException e); 4670 | 4671 | void logout() throws(1: TalkException e); 4672 | 4673 | void logoutSession( 4674 | 2: string tokenKey) throws(1: TalkException e); 4675 | 4676 | void noop() throws(1: TalkException e); 4677 | 4678 | void notifiedRedirect( 4679 | 2: map paramMap) throws(1: TalkException e); 4680 | 4681 | map notifyBuddyOnAir( 4682 | 1: i32 seq, 4683 | 2: list receiverMids) throws(1: TalkException e); 4684 | 4685 | void notifyIndividualEvent( 4686 | 2: NotificationStatus notificationStatus, 4687 | 3: list receiverMids) throws(1: TalkException e); 4688 | 4689 | void notifyInstalled( 4690 | 2: string udidHash, 4691 | 3: string applicationTypeWithExtensions) throws(1: TalkException e); 4692 | 4693 | void notifyRegistrationComplete( 4694 | 2: string udidHash, 4695 | 3: string applicationTypeWithExtensions) throws(1: TalkException e); 4696 | 4697 | void notifySleep( 4698 | 2: i64 lastRev, 4699 | 3: i32 badge) throws(1: TalkException e); 4700 | 4701 | void notifyUpdated( 4702 | 2: i64 lastRev, 4703 | 3: DeviceInfo deviceInfo) throws(1: TalkException e); 4704 | 4705 | string openProximityMatch( 4706 | 2: Location location) throws(1: TalkException e); 4707 | 4708 | string registerBuddyUser( 4709 | 2: string buddyId, 4710 | 3: string registrarPassword) throws(1: TalkException e); 4711 | 4712 | void registerBuddyUserid( 4713 | 2: i32 seq, 4714 | 3: string userid) throws(1: TalkException e); 4715 | 4716 | string registerDevice( 4717 | 2: string sessionId) throws(1: TalkException e); 4718 | 4719 | string registerDeviceWithIdentityCredential( 4720 | 2: string sessionId, 4721 | 5: IdentityProvider provider, 4722 | 3: string identifier, 4723 | 4: string verifier) throws(1: TalkException e); 4724 | 4725 | string registerDeviceWithoutPhoneNumber( 4726 | 2: string region, 4727 | 3: string udidHash, 4728 | 4: DeviceInfo deviceInfo) throws(1: TalkException e); 4729 | 4730 | string registerDeviceWithoutPhoneNumberWithIdentityCredential( 4731 | 2: string region, 4732 | 3: string udidHash, 4733 | 4: DeviceInfo deviceInfo, 4734 | 5: IdentityProvider provider, 4735 | 6: string identifier, 4736 | 7: string verifier, 4737 | 8: string mid, 4738 | 9: string migrationPincodeSessionId) throws(1: TalkException e); 4739 | 4740 | bool registerUserid( 4741 | 1: i32 reqSeq, 4742 | 2: string userid) throws(1: TalkException e); 4743 | 4744 | string registerWapDevice( 4745 | 2: string invitationHash, 4746 | 3: string guidHash, 4747 | 4: string email, 4748 | 5: DeviceInfo deviceInfo) throws(1: TalkException e); 4749 | 4750 | string registerWithExistingSnsIdAndIdentityCredential( 4751 | 2: IdentityCredential identityCredential, 4752 | 3: string region, 4753 | 4: string udidHash, 4754 | 5: DeviceInfo deviceInfo) throws(1: TalkException e); 4755 | 4756 | RegisterWithSnsIdResult registerWithSnsId( 4757 | 2: SnsIdType snsIdType, 4758 | 3: string snsAccessToken, 4759 | 4: string region, 4760 | 5: string udidHash, 4761 | 6: DeviceInfo deviceInfo, 4762 | 7: string mid) throws(1: TalkException e); 4763 | 4764 | string registerWithSnsIdAndIdentityCredential( 4765 | 2: SnsIdType snsIdType, 4766 | 3: string snsAccessToken, 4767 | 4: IdentityCredential identityCredential, 4768 | 5: string region, 4769 | 6: string udidHash, 4770 | 7: DeviceInfo deviceInfo) throws(1: TalkException e); 4771 | 4772 | string reissueDeviceCredential() throws(1: TalkException e); 4773 | 4774 | string reissueUserTicket( 4775 | 3: i64 expirationTime, 4776 | 4: i32 maxUseCount) throws(1: TalkException e); 4777 | 4778 | list getMessageReadRange( 4779 | 2: list chatIds) throws (1: TalkException e); 4780 | 4781 | void rejectGroupInvitation( 4782 | 1: i32 reqSeq, 4783 | 2: string groupId) throws(1: TalkException e); 4784 | 4785 | void releaseSession() throws(1: TalkException e); 4786 | 4787 | void removeAllMessages( 4788 | 1: i32 seq, 4789 | 2: string lastMessageId) throws(1: TalkException e); 4790 | 4791 | void removeBuddyLocation( 4792 | 2: string mid, 4793 | 3: i32 index) throws(1: TalkException e); 4794 | 4795 | bool removeMessage( 4796 | 2: string messageId) throws(1: TalkException e); 4797 | 4798 | ContactTransition makeUserAddMyselfAsContact( 4799 | 1: string contactOwnerMid) throws (1: TalkException e); 4800 | 4801 | bool removeMessageFromMyHome( 4802 | 2: string messageId) throws(1: TalkException e); 4803 | 4804 | string removeSnsId( 4805 | 2: SnsIdType snsIdType) throws(1: TalkException e); 4806 | 4807 | void report( 4808 | 2: i64 syncOpRevision, 4809 | 3: SyncCategory category, 4810 | 4: string report) throws(1: TalkException e); 4811 | 4812 | list reportContacts( 4813 | 2: i64 syncOpRevision, 4814 | 3: SyncCategory category, 4815 | 4: list contactReports, 4816 | 5: SyncActionType actionType) throws(1: TalkException e); 4817 | 4818 | void reportGroups( 4819 | 2: i64 syncOpRevision, 4820 | 3: list groups) throws(1: TalkException e); 4821 | 4822 | void reportProfile( 4823 | 2: i64 syncOpRevision, 4824 | 3: Profile profile) throws(1: TalkException e); 4825 | 4826 | void reportRooms( 4827 | 2: i64 syncOpRevision, 4828 | 3: list rooms) throws(1: TalkException e); 4829 | 4830 | Contact findAndAddContactByMetaTag( 4831 | 1: i32 reqSeq, 4832 | 2: string userid, 4833 | 3: string reference) throws (1: TalkException e); 4834 | 4835 | void reportSettings( 4836 | 2: i64 syncOpRevision, 4837 | 3: Settings settings) throws(1: TalkException e); 4838 | 4839 | void reportSpam( 4840 | 2: string chatMid, 4841 | 3: list memberMids, 4842 | 4: list spammerReasons, 4843 | 5: list senderMids, 4844 | 6: list spamMessageIds, 4845 | 7: list spamMessages) throws (1: TalkException e); 4846 | 4847 | void reportSpammer( 4848 | 2: string spammerMid, 4849 | 3: list spammerReasons, 4850 | 4: list spamMessageIds) throws(1: TalkException e); 4851 | 4852 | void requestAccountPasswordReset( 4853 | 4: IdentityProvider provider, 4854 | 2: string identifier, 4855 | 5: string locale) throws(1: TalkException e); 4856 | 4857 | EmailConfirmationSession requestEmailConfirmation( 4858 | 2: EmailConfirmation emailConfirmation) throws(1: TalkException e); 4859 | 4860 | void requestIdentityUnbind( 4861 | 4: IdentityProvider provider, 4862 | 2: string identifier) throws(1: TalkException e); 4863 | 4864 | EmailConfirmationSession resendEmailConfirmation( 4865 | 2: string verifier) throws(1: TalkException e); 4866 | 4867 | void resendPinCode( 4868 | 2: string sessionId) throws(1: TalkException e); 4869 | 4870 | void resendPinCodeBySMS( 4871 | 2: string sessionId) throws(1: TalkException e); 4872 | 4873 | void sendChatChecked( 4874 | 1: i32 seq, 4875 | 2: string consumer, 4876 | 3: string lastMessageId) throws(1: TalkException e); 4877 | 4878 | CommitMessageResult sendMessageAwaitCommit( 4879 | 1: i32 seq, 4880 | 2: Message message) throws (1: TalkException e); 4881 | 4882 | void sendChatRemoved( 4883 | 1: i32 seq, 4884 | 2: string consumer, 4885 | 3: string lastMessageId) throws(1: TalkException e); 4886 | 4887 | map sendContentPreviewUpdated( 4888 | 1: i32 esq, 4889 | 2: string messageId, 4890 | 3: list receiverMids) throws(1: TalkException e); 4891 | 4892 | void sendContentReceipt( 4893 | 1: i32 seq, 4894 | 2: string consumer, 4895 | 3: string messageId) throws(1: TalkException e); 4896 | 4897 | void sendDummyPush() throws(1: TalkException e); 4898 | 4899 | void removeE2EEPublicKey( 4900 | 2: E2EEPublicKey publicKey) throws (1: TalkException e); 4901 | 4902 | E2EENegotiationResult negotiateE2EEPublicKey( 4903 | 2: string mid) throws (1: TalkException e); 4904 | 4905 | E2EEPublicKey getE2EEPublicKey( 4906 | 2: string mid, 4907 | 3: i32 version, 4908 | 4: i32 keyId) throws (1: TalkException e); 4909 | 4910 | void requestE2EEKeyExchange( 4911 | 1: i32 reqSeq, 4912 | 2: binary temporalPublicKey, 4913 | 3: E2EEPublicKey publicKey, 4914 | 4: binary verifier) throws (1: TalkException e); 4915 | 4916 | map getLastE2EEPublicKeys( 4917 | 2: string chatMid) throws (1: TalkException e); 4918 | 4919 | E2EEPublicKey registerE2EEPublicKey( 4920 | 1: i32 reqSeq, 4921 | 2: E2EEPublicKey publicKey) throws (1: TalkException e); 4922 | 4923 | list getE2EEPublicKeys() throws (1: TalkException e); 4924 | 4925 | list getE2EEPublicKeysEx( 4926 | 2: bool ignoreE2EEStatus) throws (1: TalkException e); 4927 | 4928 | list getReadMessageOpsInBulk( 4929 | 2: list chatIds) throws (1: TalkException e); 4930 | 4931 | Message sendEvent( 4932 | 1: i32 seq, 4933 | 2: Message message) throws(1: TalkException e); 4934 | 4935 | Message sendMessage( 4936 | 1: i32 seq, 4937 | 2: Message message) throws(1: TalkException e); 4938 | 4939 | void sendMessageIgnored( 4940 | 1: i32 seq, 4941 | 2: string consumer, 4942 | 3: list messageIds) throws(1: TalkException e); 4943 | 4944 | void sendMessageReceipt( 4945 | 1: i32 seq, 4946 | 2: string consumer, 4947 | 3: list messageIds) throws(1: TalkException e); 4948 | 4949 | Contact findContactByMetaTag( 4950 | 2: string userid, 4951 | 3: string reference) throws (1: TalkException e); 4952 | 4953 | Message sendMessageToMyHome( 4954 | 1: i32 seq, 4955 | 2: Message message) throws(1: TalkException e); 4956 | 4957 | void setBuddyLocation( 4958 | 2: string mid, 4959 | 3: i32 index, 4960 | 4: Geolocation location) throws(1: TalkException e); 4961 | 4962 | void setIdentityCredential( 4963 | 2: string identifier, 4964 | 3: string verifier, 4965 | 4: IdentityProvider provider) throws(1: TalkException e); 4966 | 4967 | void setNotificationsEnabled( 4968 | 1: i32 reqSeq, 4969 | 2: MIDType type, 4970 | 3: string target, 4971 | 4: bool enablement) throws(1: TalkException e); 4972 | 4973 | VerificationSessionData startUpdateVerification( 4974 | 2: string region, 4975 | 3: CarrierCode carrier, 4976 | 4: string phone, 4977 | 5: string udidHash, 4978 | 6: DeviceInfo deviceInfo, 4979 | 7: string networkCode, 4980 | 8: string locale) throws(1: TalkException e); 4981 | 4982 | VerificationSessionData startVerification( 4983 | 2: string region, 4984 | 3: CarrierCode carrier, 4985 | 4: string phone, 4986 | 5: string udidHash, 4987 | 6: DeviceInfo deviceInfo, 4988 | 7: string networkCode, 4989 | 8: string mid, 4990 | 9: string locale, 4991 | 10: SIMInfo simInfo, 4992 | 11: string oldUdidHash) throws(1: TalkException e); 4993 | 4994 | void updateGroupPreferenceAttribute( 4995 | 1: i32 reqSeq, 4996 | 2: string groupMid, 4997 | 3: map updatedAttrs) throws (1: TalkException e); 4998 | 4999 | Room createRoomV2( 5000 | 1: i32 reqSeq, 5001 | 2: list contactIds) throws (1: TalkException e); 5002 | 5003 | void storeUpdateProfileAttribute( 5004 | 1: i32 seq, 5005 | 2: ProfileAttribute profileAttribute, 5006 | 3: string value) throws(1: TalkException e); 5007 | 5008 | list syncContactBySnsIds( 5009 | 1: i32 reqSeq, 5010 | 2: list modifications) throws(1: TalkException e); 5011 | 5012 | map syncContacts( 5013 | 1: i32 reqSeq, 5014 | 2: list localContacts) throws(1: TalkException e); 5015 | 5016 | Message trySendMessage( 5017 | 1: i32 seq, 5018 | 2: Message message) throws(1: TalkException e); 5019 | 5020 | list getNextMessagesV2( 5021 | 2: string messageBoxId, 5022 | 3: MessageBoxV2MessageId startMessageId, 5023 | 4: i32 messagesCount) throws (1: TalkException e); 5024 | 5025 | TMessageBoxWrapUp getMessageBoxCompactWrapUpV2( 5026 | 2: string messageBoxId) throws (1: TalkException e); 5027 | 5028 | list getRecentMessagesV2( 5029 | 2: string messageBoxId, 5030 | 3: i32 messagesCount) throws (1: TalkException e); 5031 | 5032 | map validateContactsOnBot( 5033 | 2: list contacts) throws (1: TalkException e); 5034 | 5035 | void tryFriendRequest( 5036 | 1: string midOrEMid, 5037 | 2: FriendRequestMethod method, 5038 | 3: string friendRequestParams) throws (1: TalkException e); 5039 | 5040 | void unblockContact( 5041 | 1: i32 reqSeq, 5042 | 2: string id) throws(1: TalkException e); 5043 | 5044 | void unblockRecommendation( 5045 | 1: i32 reqSeq, 5046 | 2: string id) throws(1: TalkException e); 5047 | 5048 | string unregisterUserAndDevice() throws(1: TalkException e); 5049 | 5050 | void updateApnsDeviceToken( 5051 | 2: binary apnsDeviceToken) throws(1: TalkException e); 5052 | 5053 | void updateBuddySetting( 5054 | 2: string key, 5055 | 3: string value) throws(1: TalkException e); 5056 | 5057 | void updateC2DMRegistrationId( 5058 | 2: string registrationId) throws(1: TalkException e); 5059 | 5060 | void updateContactSetting( 5061 | 1: i32 reqSeq, 5062 | 2: string mid, 5063 | 3: ContactSetting flag, 5064 | 4: string value) throws(1: TalkException e); 5065 | 5066 | void updateCustomModeSettings( 5067 | 2: CustomMode customMode, 5068 | 3: map paramMap) throws(1: TalkException e); 5069 | 5070 | void updateDeviceInfo( 5071 | 2: string deviceUid, 5072 | 3: DeviceInfo deviceInfo) throws(1: TalkException e); 5073 | 5074 | void updateGroup( 5075 | 1: i32 reqSeq, 5076 | 2: Group group) throws(1: TalkException e); 5077 | 5078 | void updateNotificationToken( 5079 | 3: NotificationType type, 5080 | 2: string token) throws(1: TalkException e); 5081 | 5082 | void updateNotificationTokenWithBytes( 5083 | 3: NotificationType type, 5084 | 2: binary token) throws(1: TalkException e); 5085 | 5086 | void updateProfile( 5087 | 1: i32 reqSeq, 5088 | 2: Profile profile) throws(1: TalkException e); 5089 | 5090 | void updateProfileAttribute( 5091 | 1: i32 reqSeq, 5092 | 2: ProfileAttribute attr, 5093 | 3: string value) throws(1: TalkException e); 5094 | 5095 | void updateRegion( 5096 | 2: string region) throws(1: TalkException e); 5097 | 5098 | void updateSettings( 5099 | 1: i32 reqSeq, 5100 | 2: Settings settings) throws(1: TalkException e); 5101 | 5102 | i32 updateSettings2( 5103 | 1: i32 reqSeq, 5104 | 2: Settings settings) throws(1: TalkException e); 5105 | 5106 | void updateSettingsAttribute( 5107 | 1: i32 reqSeq, 5108 | 2: SettingsAttribute attr, 5109 | 3: string value) throws(1: TalkException e); 5110 | 5111 | i32 updateSettingsAttributes( 5112 | 1: i32 reqSeq, 5113 | 2: i32 attrBitset, 5114 | 3: Settings settings) throws(1: TalkException e); 5115 | 5116 | void verifyIdentityCredential( 5117 | 8: IdentityProvider identityProvider, 5118 | 3: string identifier, 5119 | 4: string password) throws(1: TalkException e); 5120 | 5121 | UserAuthStatus verifyIdentityCredentialWithResult( 5122 | 2: IdentityCredential identityCredential) throws(1: TalkException e); 5123 | 5124 | VerificationResult verifyPhone( 5125 | 2: string sessionId, 5126 | 3: string pinCode, 5127 | 4: string udidHash) throws(1: TalkException e); 5128 | 5129 | string verifyQrcode( 5130 | 2: string verifier, 5131 | 3: string pinCode) throws(1: TalkException e); 5132 | } 5133 | 5134 | service UniversalNotificationService { 5135 | void notify( 5136 | 2: GlobalEvent event) throws(1: UniversalNotificationServiceException e); 5137 | } 5138 | 5139 | service CallService { 5140 | 5141 | UserStatus getUserStatus( 5142 | 1: string mid) throws (1: TalkException e); 5143 | 5144 | void updateProfileAttributeForChannel( 5145 | 2: ProfileAttribute profileAttribute, 5146 | 3: string value) throws (1: TalkException e); 5147 | 5148 | void updateExtendedProfileAttribute( 5149 | 1: ExtendedProfileAttribute attr, 5150 | 2: ExtendedProfile extendedProfile) throws (1: TalkException e); 5151 | 5152 | list getAllSimpleChannelContacts( 5153 | 1: bool statusSticonFallbackDisabled) throws (1: TalkException e); 5154 | 5155 | map getUserIdentities() throws (1: TalkException e); 5156 | 5157 | PaidCallDialing markPaidCallAd( 5158 | 2: string dialedNumber, 5159 | 3: string language, 5160 | 4: bool disableCallerId) throws (1: TalkException e); 5161 | 5162 | bool isGroupMember( 5163 | 1: string groupId) throws (1: TalkException e); 5164 | 5165 | PhoneInfoForChannel getPhoneInfoFromPhoneNumber( 5166 | 1: string region, 5167 | 2: string phoneNumber) throws (1: TalkException e); 5168 | 5169 | PaidCallRedeemResult redeemPaidCallVoucher( 5170 | 2: string serial, 5171 | 3: string language) throws (1: TalkException e); 5172 | 5173 | map getPreferredDisplayName( 5174 | 1: list mids) throws (1: TalkException e); 5175 | 5176 | list getContactsForChannel( 5177 | 2: list ids) throws (1: TalkException e); 5178 | 5179 | list getCallCreditProducts( 5180 | 2: PaymentType appStoreCode, 5181 | 3: PaymentPgType pgCode, 5182 | 4: string country, 5183 | 5: string language) throws (1: TalkException e); 5184 | 5185 | list getCompactContacts( 5186 | 2: i64 lastModifiedTimestamp) throws (1: TalkException e); 5187 | 5188 | void notifyNotiCenterEvent( 5189 | 1: NotiCenterEventData event) throws (1: TalkException e); 5190 | 5191 | bool isInContact( 5192 | 2: string mid) throws (1: TalkException e); 5193 | 5194 | list lookupGroupMembers( 5195 | 1: string groupId, 5196 | 2: list mids) throws (1: TalkException e); 5197 | 5198 | Room getRoomInformation( 5199 | 1: string roomMid) throws (1: TalkException e); 5200 | 5201 | GroupCall getGroupCall( 5202 | 2: string chatMid) throws (1: TalkException e); 5203 | 5204 | bool isAllowSecondaryDeviceLogin() throws (1: TalkException e); 5205 | 5206 | SimpleChannelClient getPrimaryClientForChannel() throws (1: TalkException e); 5207 | 5208 | Room createRoomWithBuddy( 5209 | 1: i32 reqSeq, 5210 | 2: string buddyMid, 5211 | 3: list contactIds) throws (1: TalkException e); 5212 | 5213 | string getDisplayName( 5214 | 2: string mid) throws (1: TalkException e); 5215 | 5216 | PaidCallMetadataResult getPaidCallMetadata( 5217 | 2: string language) throws (1: TalkException e); 5218 | 5219 | string getMid() throws (1: TalkException e); 5220 | 5221 | string getUserCountryForBilling( 5222 | 2: string country, 5223 | 3: string remoteIp) throws (1: TalkException e); 5224 | 5225 | list getFavoriteGroupIdsForChannel() throws (1: TalkException e); 5226 | 5227 | PaidCallHistoryResult getPaidCallHistory( 5228 | 2: i64 start, 5229 | 3: i32 size, 5230 | 4: string language) throws (1: TalkException e); 5231 | 5232 | void sendPinCodeOperation( 5233 | 1: string verifier) throws (1: TalkException e); 5234 | 5235 | void inviteIntoGroupCall( 5236 | 2: string chatMid, 5237 | 3: list memberMids, 5238 | 4: GroupCallMediaType mediaType) throws (1: TalkException e); 5239 | 5240 | list getFriendMids() throws (1: TalkException e); 5241 | 5242 | MetaProfile getMetaProfile() throws (1: TalkException e); 5243 | 5244 | Message sendMessageForChannel( 5245 | 2: Message message) throws (1: TalkException e); 5246 | 5247 | i64 activeBuddySubscriberCount() throws (1: TalkException e); 5248 | 5249 | CoinHistoryResult getCallCreditPurchaseHistory( 5250 | 2: CoinHistoryCondition request) throws (1: TalkException e); 5251 | 5252 | bool isRoomMember( 5253 | 1: string roomId) throws (1: TalkException e); 5254 | 5255 | Message sendSystemOAMessage( 5256 | 1: Message message) throws (1: TalkException e); 5257 | 5258 | PaidCallResponse acquirePaidCallRoute( 5259 | 2: PaidCallType paidCallType, 5260 | 3: string dialedNumber, 5261 | 4: string language, 5262 | 5: string networkCode, 5263 | 6: bool disableCallerId, 5264 | 7: string referer, 5265 | 8: string adSessionId) throws (1: TalkException e); 5266 | 5267 | list getGroupsForChannel( 5268 | 1: list groupIds) throws (1: TalkException e); 5269 | 5270 | i64 getUserCreateTime() throws (1: TalkException e); 5271 | 5272 | string registerChannelCP( 5273 | 2: string cpId, 5274 | 3: string registerPassword) throws (1: TalkException e); 5275 | 5276 | PaymentReservationResult reserveCallCreditPurchase( 5277 | 2: CoinPurchaseReservation request) throws (1: TalkException e); 5278 | 5279 | list acquirePaidCallCurrencyExchangeRate( 5280 | 2: string language) throws (1: TalkException e); 5281 | 5282 | list getRoomMemberMidsForAppPlatform( 5283 | 1: string roomId) throws (1: TalkException e); 5284 | 5285 | list getPaidCallBalanceList( 5286 | 2: string language) throws (1: TalkException e); 5287 | 5288 | map getPersonalInfos( 5289 | 1: set requiredPersonalInfos) throws (1: TalkException e); 5290 | 5291 | list getPrimaryClientsForChannel( 5292 | 1: list userMids) throws (1: TalkException e); 5293 | 5294 | ContactTransition addBuddyToContact( 5295 | 1: string buddyMid) throws (1: TalkException e); 5296 | 5297 | list getGroupMemberMidsForAppPlatform( 5298 | 1: string groupId) throws (1: TalkException e); 5299 | 5300 | string getUserLanguage() throws (1: TalkException e); 5301 | 5302 | PaidCallResponse lookupPaidCall( 5303 | 2: string dialedNumber, 5304 | 3: string language, 5305 | 4: string referer) throws (1: TalkException e); 5306 | 5307 | ExtendedProfile getExtendedProfile() throws (1: TalkException e); 5308 | 5309 | map getReverseCompactContacts( 5310 | 1: list ids) throws (1: TalkException e); 5311 | 5312 | PaidCallAdResult getPaidCallAdStatus() throws (1: TalkException e); 5313 | 5314 | Contact findContactByUseridWithoutAbuseBlockForChannel( 5315 | 2: string userid) throws (1: TalkException e); 5316 | 5317 | list getGroupMemberMids( 5318 | 1: string groupId) throws (1: TalkException e); 5319 | 5320 | Message sendMessageWithoutRelationship( 5321 | 2: Message message) throws (1: TalkException e); 5322 | 5323 | map displayBuddySubscriberCountInBulk( 5324 | 1: list mids) throws (1: TalkException e); 5325 | 5326 | list lookupRoomMembers( 5327 | 1: string roomId, 5328 | 2: list mids) throws (1: TalkException e); 5329 | 5330 | list getFavoriteMidsForChannel() throws (1: TalkException e); 5331 | 5332 | list getAllContactIdsForChannel() throws (1: TalkException e); 5333 | 5334 | i64 displayBuddySubscriberCount() throws (1: TalkException e); 5335 | 5336 | Profile getProfileForChannel() throws (1: TalkException e); 5337 | 5338 | list getUserTickets( 5339 | 1: list userMids) throws (1: TalkException e); 5340 | 5341 | list getOAFriendMids() throws (1: TalkException e); 5342 | 5343 | list searchPaidCallUserRate( 5344 | 2: string countryCode, 5345 | 3: string language) throws (1: TalkException e); 5346 | 5347 | list getJoinedGroupIdsForChannel() throws (1: TalkException e); 5348 | 5349 | GroupCallRoute acquireGroupCallRoute( 5350 | 2: string chatMid, 5351 | 3: GroupCallMediaType mediaType) throws (1: TalkException e); 5352 | 5353 | list getUserMidsWhoAddedMe() throws (1: TalkException e); 5354 | 5355 | IdentityCredential getIdentityCredential() throws (1: TalkException e); 5356 | 5357 | void addOperationForChannel( 5358 | 1: OpType opType, 5359 | 2: string param1, 5360 | 3: string param2, 5361 | 4: string param3) throws (1: TalkException e); 5362 | 5363 | list getSimpleChannelContacts( 5364 | 1: list ids, 5365 | 2: bool statusSticonFallbackDisabled) throws (1: TalkException e); 5366 | 5367 | i64 getUserLastSentMessageTimeStamp( 5368 | 1: string mid) throws (1: TalkException e); 5369 | } 5370 | 5371 | service AuthService { 5372 | 5373 | string normalizePhoneNumber( 5374 | 2: string countryCode, 5375 | 3: string phoneNumber, 5376 | 4: string countryCodeHint) throws (1: TalkException e); 5377 | 5378 | void respondE2EELoginRequest( 5379 | 1: string verifier, 5380 | 2: E2EEPublicKey publicKey, 5381 | 3: binary encryptedKeyChain, 5382 | 4: binary hashKeyChain, 5383 | 5: ErrorCode errorCode) throws (1: TalkException e); 5384 | 5385 | string confirmE2EELogin( 5386 | 1: string verifier, 5387 | 2: binary deviceSecret) throws (1: TalkException e); 5388 | 5389 | void logoutZ() throws (1: TalkException e); 5390 | 5391 | LoginResult loginZ( 5392 | 2: LoginRequest loginRequest) throws (1: TalkException e); 5393 | 5394 | SecurityCenterResult issueTokenForAccountMigrationSettings( 5395 | 2: bool enforce) throws (1: TalkException e); 5396 | 5397 | SecurityCenterResult issueTokenForAccountMigration( 5398 | 2: string migrationSessionId) throws (1: TalkException e); 5399 | 5400 | string verifyQrcodeWithE2EE( 5401 | 2: string verifier, 5402 | 3: string pinCode, 5403 | 4: ErrorCode errorCode, 5404 | 5: E2EEPublicKey publicKey, 5405 | 6: binary encryptedKeyChain, 5406 | 7: binary hashKeyChain) throws (1: TalkException e); 5407 | 5408 | } 5409 | 5410 | service SquareService { 5411 | 5412 | GetSquareChatAnnouncementsResponse getSquareChatAnnouncements( 5413 | 1: GetSquareChatAnnouncementsRequest request) throws(1: SquareException e); 5414 | 5415 | DeleteSquareChatAnnouncementResponse deleteSquareChatAnnouncement( 5416 | 1: DeleteSquareChatAnnouncementRequest request) throws(1: SquareException e); 5417 | 5418 | CreateSquareChatAnnouncementResponse createSquareChatAnnouncement( 5419 | 1: CreateSquareChatAnnouncementRequest request) throws(1: SquareException e); 5420 | 5421 | GetNoteStatusResponse getNoteStatus( 5422 | 1: GetNoteStatusRequest request) throws(1: SquareException e); 5423 | 5424 | GetSquareStatusResponse getSquareStatus( 5425 | 1: GetSquareStatusRequest request) throws(1: SquareException e); 5426 | 5427 | ReportSquareMemberResponse reportSquareMember( 5428 | 1: ReportSquareMemberRequest request) throws(1: SquareException e); 5429 | 5430 | ReportSquareMessageResponse reportSquareMessage( 5431 | 1: ReportSquareMessageRequest request) throws(1: SquareException e); 5432 | 5433 | ReportSquareChatResponse reportSquareChat( 5434 | 1: ReportSquareChatRequest request) throws(1: SquareException e); 5435 | 5436 | ReportSquareResponse reportSquare( 5437 | 1: ReportSquareRequest request) throws(1: SquareException e); 5438 | 5439 | UpdateSquareMemberRelationResponse updateSquareMemberRelation( 5440 | 1: UpdateSquareMemberRelationRequest request) throws(1: SquareException e); 5441 | 5442 | UpdateSquareAuthorityResponse updateSquareAuthority( 5443 | 1: UpdateSquareAuthorityRequest request) throws(1: SquareException e); 5444 | 5445 | UpdateSquareChatMemberResponse updateSquareChatMember( 5446 | 1: UpdateSquareChatMemberRequest request) throws(1: SquareException e); 5447 | 5448 | UpdateSquareChatResponse updateSquareChat( 5449 | 1: UpdateSquareChatRequest request) throws(1: SquareException e); 5450 | 5451 | RefreshSubscriptionsResponse refreshSubscriptions( 5452 | 1: RefreshSubscriptionsRequest request) throws(1: SquareException e); 5453 | 5454 | RemoveSubscriptionsResponse removeSubscriptions( 5455 | 1: RemoveSubscriptionsRequest request) throws(1: SquareException e); 5456 | 5457 | RejectSquareMembersResponse rejectSquareMembers( 5458 | 1: RejectSquareMembersRequest request) throws(1: SquareException e); 5459 | 5460 | UpdateSquareMembersResponse updateSquareMembers( 5461 | 1: UpdateSquareMembersRequest request) throws(1: SquareException e); 5462 | 5463 | UpdateSquareMemberResponse updateSquareMember( 5464 | 1: UpdateSquareMemberRequest request) throws(1: SquareException e); 5465 | 5466 | UpdateSquareFeatureSetResponse updateSquareFeatureSet( 5467 | 1: UpdateSquareFeatureSetRequest request) throws(1: SquareException e); 5468 | 5469 | GetSquareFeatureSetResponse getSquareFeatureSet( 5470 | 1: GetSquareFeatureSetRequest request) throws(1: SquareException e); 5471 | 5472 | SearchSquaresResponse searchSquares( 5473 | 1: SearchSquaresRequest request) throws(1: SquareException e); 5474 | 5475 | UpdateSquareResponse updateSquare( 5476 | 1: UpdateSquareRequest request) throws(1: SquareException e); 5477 | 5478 | GetSquareCategoriesResponse getCategories( 5479 | 1: GetSquareCategoriesRequest request) throws(1: SquareException e); 5480 | 5481 | SearchSquareMembersResponse searchSquareMembers( 5482 | 1: SearchSquareMembersRequest request) throws(1: SquareException e); 5483 | 5484 | FetchSquareChatEventsResponse fetchSquareChatEvents( 5485 | 1: FetchSquareChatEventsRequest request) throws(1: SquareException e); 5486 | 5487 | FetchMyEventsResponse fetchMyEvents( 5488 | 1: FetchMyEventsRequest request) throws(1: SquareException e); 5489 | 5490 | MarkAsReadResponse markAsRead( 5491 | 1: MarkAsReadRequest request) throws(1: SquareException e); 5492 | 5493 | GetSquareAuthorityResponse getSquareAuthority( 5494 | 1: GetSquareAuthorityRequest request) throws(1: SquareException e); 5495 | 5496 | SendMessageResponse sendMessage( 5497 | 1: SendMessageRequest request) throws(1: SquareException e); 5498 | 5499 | LeaveSquareResponse leaveSquare( 5500 | 1: LeaveSquareRequest request) throws(1: SquareException e); 5501 | 5502 | LeaveSquareChatResponse leaveSquareChat( 5503 | 1: LeaveSquareChatRequest request) throws(1: SquareException e); 5504 | 5505 | JoinSquareChatResponse joinSquareChat( 5506 | 1: JoinSquareChatRequest request) throws(1: SquareException e); 5507 | 5508 | JoinSquareResponse joinSquare( 5509 | 1: JoinSquareRequest request) throws(1: SquareException e); 5510 | 5511 | InviteToSquareResponse inviteToSquare( 5512 | 1: InviteToSquareRequest request) throws(1: SquareException e); 5513 | 5514 | InviteToSquareChatResponse inviteToSquareChat( 5515 | 1: InviteToSquareChatRequest request) throws(1: SquareException e); 5516 | 5517 | GetSquareMemberResponse getSquareMember( 5518 | 1: GetSquareMemberRequest request) throws(1: SquareException e); 5519 | 5520 | GetSquareMembersResponse getSquareMembers( 5521 | 1: GetSquareMembersRequest request) throws(1: SquareException e); 5522 | 5523 | GetSquareMemberRelationResponse getSquareMemberRelation( 5524 | 1: GetSquareMemberRelationRequest request) throws(1: SquareException e); 5525 | 5526 | GetSquareMemberRelationsResponse getSquareMemberRelations( 5527 | 1: GetSquareMemberRelationsRequest request) throws(1: SquareException e); 5528 | 5529 | GetSquareChatMembersResponse getSquareChatMembers( 5530 | 1: GetSquareChatMembersRequest request) throws(1: SquareException e); 5531 | 5532 | GetSquareChatStatusResponse getSquareChatStatus( 5533 | 1: GetSquareChatStatusRequest request) throws(1: SquareException e); 5534 | 5535 | GetSquareChatResponse getSquareChat( 5536 | 1: GetSquareChatRequest request) throws(1: SquareException e); 5537 | 5538 | GetSquareResponse getSquare( 5539 | 1: GetSquareRequest request) throws(1: SquareException e); 5540 | 5541 | GetJoinedSquaresResponse getJoinedSquares( 5542 | 1: GetJoinedSquaresRequest request) throws(1: SquareException e); 5543 | 5544 | GetJoinedSquareChatsResponse getJoinedSquareChats( 5545 | 1: GetJoinedSquareChatsRequest request) throws(1: SquareException e); 5546 | 5547 | ApproveSquareMembersResponse approveSquareMembers( 5548 | 1: ApproveSquareMembersRequest request) throws(1: SquareException e); 5549 | 5550 | CreateSquareChatResponse createSquareChat( 5551 | 1: CreateSquareChatRequest request) throws(1: SquareException e); 5552 | 5553 | CreateSquareResponse createSquare( 5554 | 1: CreateSquareRequest request) throws(1: SquareException e); 5555 | 5556 | DeleteSquareChatResponse deleteSquareChat( 5557 | 1: DeleteSquareChatRequest request) throws(1: SquareException e); 5558 | 5559 | DeleteSquareResponse deleteSquare( 5560 | 1: DeleteSquareRequest request) throws(1: SquareException e); 5561 | 5562 | DestroyMessageResponse destroyMessage( 5563 | 1: DestroyMessageRequest request) throws(1: SquareException e); 5564 | 5565 | GetJoinableSquareChatsResponse getJoinableSquareChats( 5566 | 1: GetJoinableSquareChatsRequest request) throws(1: SquareException e); 5567 | 5568 | GetInvitationTicketUrlResponse getInvitationTicketUrl( 5569 | 1: GetInvitationTicketUrlRequest request) throws(1: SquareException e); 5570 | 5571 | FindSquareByInvitationTicketResponse findSquareByInvitationTicket( 5572 | 1: FindSquareByInvitationTicketRequest request) throws(1: SquareException e); 5573 | 5574 | } 5575 | --------------------------------------------------------------------------------