fadhiilrachman

line.thrift

Jan 7th, 2018
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.52 KB | None | 0 0
  1. enum AccountMigrationCheckType {
  2. SKIP = 0,
  3. PINCODE = 1,
  4. SECURITY_CENTER = 2,
  5. }
  6.  
  7. enum AccountMigrationPincodeType {
  8. NOT_APPLICABLE = 0,
  9. NOT_SET = 1,
  10. SET = 2,
  11. NEED_ENFORCED_INPUT = 3,
  12. }
  13.  
  14. struct AgeCheckDocomoResult {
  15. 1: string authUrl;
  16. 2: UserAgeType userAgeType;
  17. }
  18.  
  19. struct AgeCheckRequestResult {
  20. 1: string authUrl;
  21. 2: string sessionId;
  22. }
  23.  
  24. struct AnalyticsInfo {
  25. 1: double gaSamplingRate;
  26. 2: string tmid;
  27. }
  28.  
  29. struct Announcement {
  30. 1: i32 index;
  31. 10: bool forceUpdate;
  32. 11: string title;
  33. 12: string text;
  34. 13: i64 createdTime;
  35. 14: string pictureUrl;
  36. 15: string thumbnailUrl;
  37. }
  38.  
  39. enum ApplicationType {
  40. IOS = 16,
  41. IOS_RC = 17,
  42. IOS_BETA = 18,
  43. IOS_ALPHA = 19,
  44. ANDROID = 32,
  45. ANDROID_RC = 33,
  46. ANDROID_BETA = 34,
  47. ANDROID_ALPHA = 35,
  48. WAP = 48,
  49. WAP_RC = 49,
  50. WAP_BETA = 50,
  51. WAP_ALPHA = 51,
  52. BOT = 64,
  53. BOT_RC = 65,
  54. BOT_BETA = 66,
  55. BOT_ALPHA = 67,
  56. WEB = 80,
  57. WEB_RC = 81,
  58. WEB_BETA = 82,
  59. WEB_ALPHA = 83,
  60. DESKTOPWIN = 96,
  61. DESKTOPWIN_RC = 97,
  62. DESKTOPWIN_BETA = 98,
  63. DESKTOPWIN_ALPHA = 99,
  64. DESKTOPMAC = 112,
  65. DESKTOPMAC_RC = 113,
  66. DESKTOPMAC_BETA = 114,
  67. DESKTOPMAC_ALPHA = 115,
  68. CHANNELGW = 128,
  69. CHANNELGW_RC = 129,
  70. CHANNELGW_BETA = 130,
  71. CHANNELGW_ALPHA = 131,
  72. CHANNELCP = 144,
  73. CHANNELCP_RC = 145,
  74. CHANNELCP_BETA = 146,
  75. CHANNELCP_ALPHA = 147,
  76. WINPHONE = 160,
  77. WINPHONE_RC = 161,
  78. WINPHONE_BETA = 162,
  79. WINPHONE_ALPHA = 163,
  80. BLACKBERRY = 176,
  81. BLACKBERRY_RC = 177,
  82. BLACKBERRY_BETA = 178,
  83. BLACKBERRY_ALPHA = 179,
  84. WINMETRO = 192,
  85. WINMETRO_RC = 193,
  86. WINMETRO_BETA = 194,
  87. WINMETRO_ALPHA = 195,
  88. S40 = 208,
  89. S40_RC = 209,
  90. S40_BETA = 210,
  91. S40_ALPHA = 211,
  92. CHRONO = 224,
  93. CHRONO_RC = 225,
  94. CHRONO_BETA = 226,
  95. CHRONO_ALPHA = 227,
  96. TIZEN = 256,
  97. TIZEN_RC = 257,
  98. TIZEN_BETA = 258,
  99. TIZEN_ALPHA = 259,
  100. VIRTUAL = 272,
  101. FIREFOXOS = 288,
  102. FIREFOXOS_RC = 289,
  103. FIREFOXOS_BETA = 290,
  104. FIREFOXOS_ALPHA = 291,
  105. IOSIPAD = 304,
  106. IOSIPAD_RC = 305,
  107. IOSIPAD_BETA = 306,
  108. IOSIPAD_ALPHA = 307,
  109. BIZIOS = 320,
  110. BIZIOS_RC = 321,
  111. BIZIOS_BETA = 322,
  112. BIZIOS_ALPHA = 323,
  113. BIZANDROID = 336,
  114. BIZANDROID_RC = 337,
  115. BIZANDROID_BETA = 338,
  116. BIZANDROID_ALPHA = 339,
  117. BIZBOT = 352,
  118. BIZBOT_RC = 353,
  119. BIZBOT_BETA = 354,
  120. BIZBOT_ALPHA = 355,
  121. CHROMEOS = 368,
  122. CHROMEOS_RC = 369,
  123. CHROMEOS_BETA = 370,
  124. CHROMEOS_ALPHA = 371,
  125. ANDROIDLITE = 384,
  126. ANDROIDLITE_RC = 385,
  127. ANDROIDLITE_BETA = 386,
  128. ANDROIDLITE_ALPHA = 387,
  129. WIN10 = 400,
  130. WIN10_RC = 401,
  131. WIN10_BETA = 402,
  132. WIN10_ALPHA = 403,
  133. BIZWEB = 416,
  134. BIZWEB_RC = 417,
  135. BIZWEB_BETA = 418,
  136. BIZWEB_ALPHA = 419,
  137. DUMMYPRIMARY = 432,
  138. DUMMYPRIMARY_RC = 433,
  139. DUMMYPRIMARY_BETA = 434,
  140. DUMMYPRIMARY_ALPHA = 435,
  141. SQUARE = 448,
  142. SQUARE_RC = 449,
  143. SQUARE_BETA = 450,
  144. SQUARE_ALPHA = 451,
  145. INTERNAL = 464,
  146. INTERNAL_RC = 465,
  147. INTERNAL_BETA = 466,
  148. INTERNAL_ALPHA = 467,
  149. }
  150.  
  151. struct ApprovedChannelInfo {
  152. 1: ChannelInfo channelInfo;
  153. 2: i64 approvedAt;
  154. }
  155.  
  156. struct ApprovedChannelInfos {
  157. 1: list<ApprovedChannelInfo> approvedChannelInfos;
  158. 2: i64 revision;
  159. }
  160.  
  161. enum AsymmetricKeyAlgorithm {
  162. ASYMMETRIC_KEY_ALGORITHM_RSA = 1,
  163. ASYMMETRIC_KEY_ALGORITHM_ECDH = 2,
  164. }
  165.  
  166. struct AuthQrcode {
  167. 1: string qrcode;
  168. 2: string verifier;
  169. 3: string callbackUrl;
  170. }
  171.  
  172. struct Balance {
  173. 1: string currentPointsFixedPointDecimal;
  174. }
  175.  
  176. struct BanPage {
  177. 1: string url;
  178. }
  179.  
  180. struct BeaconBackgroundNotification {
  181. 1: i64 actionInterval;
  182. 2: list<BeaconCondition> actionAndConditions;
  183. 3: i64 actionDelay;
  184. 4: list<list<BeaconCondition>> actionConditions;
  185. }
  186.  
  187. struct BeaconCondition {
  188. 1: string inFriends;
  189. 2: string notInFriends;
  190. 3: bool termsAgreed;
  191. }
  192.  
  193. struct BeaconLayerInfoAndActions {
  194. 1: string pictureUrl;
  195. 2: string label;
  196. 3: string text;
  197. 4: list<string> actions;
  198. 5: list<BeaconCondition> showOrConditions;
  199. 6: list<list<BeaconCondition>> showConditions;
  200. 7: i64 timeToHide;
  201. }
  202.  
  203. enum BeaconNotificationType {
  204. BUTTON = 1,
  205. ENTRY_SELECTED = 2,
  206. BROADCAST_ENTER = 3,
  207. BROADCAST_LEAVE = 4,
  208. }
  209.  
  210. struct BeaconQueryResponse {
  211. 2: list<string> deprecated_actionUrls;
  212. 3: i64 cacheTtl;
  213. 4: BeaconTouchActions touchActions;
  214. 5: BeaconLayerInfoAndActions layerInfoAndActions;
  215. 6: BeaconBackgroundNotification backgroundEnteringNotification;
  216. 7: BeaconBackgroundNotification backgroundLeavingNotification;
  217. 8: string group;
  218. 9: string major;
  219. 10: string minor;
  220. 11: double effectiveRange;
  221. 12: list<string> channelWhiteList;
  222. }
  223.  
  224. struct BeaconTouchActions {
  225. 1: list<string> actions;
  226. }
  227.  
  228. enum BotType {
  229. RESERVED = 0,
  230. OFFICIAL = 1,
  231. LINE_AT_0 = 2,
  232. LINE_AT = 3,
  233. }
  234.  
  235. struct BotUseInfo {
  236. 1: bool botUseAgreementAccepted;
  237. 2: bool botInFriends;
  238. 3: string primaryApplication;
  239. 4: string locale;
  240. }
  241.  
  242. struct BuddyBanner {
  243. 1: BuddyBannerLinkType buddyBannerLinkType;
  244. 2: string buddyBannerLink;
  245. 3: string buddyBannerImageUrl;
  246. 4: i32 width;
  247. 5: i32 height;
  248. 6: i64 bannerId;
  249. }
  250.  
  251. enum BuddyBannerLinkType {
  252. BUDDY_BANNER_LINK_HIDDEN = 0,
  253. BUDDY_BANNER_LINK_MID = 1,
  254. BUDDY_BANNER_LINK_URL = 2,
  255. }
  256.  
  257. struct BuddyCategoryEntry {
  258. 1: string classification;
  259. 2: string displayName;
  260. 3: i32 totalBuddyCount;
  261. }
  262.  
  263. struct BuddyCategoryView {
  264. 1: list<BuddyCategoryEntry> categoryEntries;
  265. }
  266.  
  267. struct BuddyChatBar {
  268. 1: list<BuddyChatBarItem> barItems;
  269. }
  270.  
  271. struct BuddyChatBarItem {
  272. 1: BuddyRichMenuChatBarItem rich;
  273. 2: BuddyWidgetListCharBarItem widgetList;
  274. 3: BuddyWebChatBarItem web;
  275. }
  276.  
  277. struct BuddyCollection {
  278. 1: i32 code;
  279. 2: string displayName;
  280. 3: i32 totalBuddyCount;
  281. 4: list<BuddyCollectionEntry> entries;
  282. 5: bool horizontal;
  283. 6: BuddyCollectionType type;
  284. }
  285.  
  286. struct BuddyCollectionEntry {
  287. 1: Contact contact;
  288. 2: bool onAir;
  289. 3: bool asNew;
  290. }
  291.  
  292. enum BuddyCollectionType {
  293. NORMAL = 0,
  294. NEW = 1,
  295. ONAIR = 2,
  296. POPULAR = 3,
  297. }
  298.  
  299. struct BuddyDetail {
  300. 1: string mid;
  301. 2: i64 memberCount;
  302. 3: bool onAir;
  303. 4: bool businessAccount;
  304. 5: bool addable;
  305. 6: set<ContentType> acceptableContentTypes;
  306. 7: bool capableMyhome;
  307. 8: bool freePhoneCallable;
  308. 9: string phoneNumberToDial;
  309. 10: bool needPermissionApproval;
  310. 11: i32 channelId;
  311. 12: string channelProviderName;
  312. 13: i32 iconType;
  313. 14: BotType botType;
  314. 15: bool showRichMenu;
  315. 16: i64 richMenuRevision;
  316. 17: BuddyOnAirLabel onAirLabel;
  317. 18: bool useTheme;
  318. 19: string themeId;
  319. 20: bool useBar;
  320. 21: i64 barRevision;
  321. 22: bool useBackground;
  322. 23: string backgroundId;
  323. 24: bool statusBarEnabled;
  324. 25: i64 statusBarRevision;
  325. 26: bool capableChat;
  326. }
  327.  
  328. struct BuddyList {
  329. 1: string classification;
  330. 2: string displayName;
  331. 3: i32 totalBuddyCount;
  332. 4: list<Contact> popularContacts;
  333. }
  334.  
  335. struct BuddyMessageRequest {
  336. 1: ContentType contentType;
  337. 2: string text;
  338. 3: Location location;
  339. 4: binary content;
  340. 5: map<string, string> contentMetadata;
  341. 6: string sourceContentId;
  342. 7: bool usePermanent;
  343. 8: string toMid;
  344. }
  345.  
  346. struct BuddyNewsEntry {
  347. 1: BuddyBanner banner;
  348. 2: Contact contact;
  349. 3: i64 memberCount;
  350. 4: string subtitle;
  351. 5: i64 releasedTime;
  352. 6: i64 newsId;
  353. }
  354.  
  355. struct BuddyNewsView {
  356. 1: bool hasNext;
  357. 2: list<BuddyNewsEntry> newsEntries;
  358. }
  359.  
  360. struct BuddyOnAir {
  361. 1: string mid;
  362. 3: i64 freshnessLifetime;
  363. 4: string onAirId;
  364. 5: bool onAir;
  365. 11: string text;
  366. 12: i64 viewerCount;
  367. 13: i64 targetCount;
  368. 14: i64 livePlayTime;
  369. 15: string screenAspectRate;
  370. 31: BuddyOnAirType onAirType;
  371. 32: BuddyOnAirUrls onAirUrls;
  372. 33: string aspectRatioOfSource;
  373. 41: bool useFadingOut;
  374. 42: i64 fadingOutIn;
  375. 43: string urlAfterFadingOut;
  376. 44: string labelAfterFadingOut;
  377. 51: bool useLowerBanner;
  378. 52: string lowerBannerUrl;
  379. 53: string lowerBannerLabel;
  380. }
  381.  
  382. enum BuddyOnAirLabel {
  383. ON_AIR = 0,
  384. LIVE = 1,
  385. }
  386.  
  387. enum BuddyOnAirType {
  388. NORMAL = 0,
  389. VIDEOCAM = 1,
  390. VOIP = 2,
  391. RECORD = 3,
  392. }
  393.  
  394. struct BuddyOnAirUrls {
  395. 1: map<string, string> hls;
  396. 2: map<string, string> smoothStreaming;
  397. }
  398.  
  399. struct BuddyProfile {
  400. 1: string buddyId;
  401. 2: string mid;
  402. 3: string searchId;
  403. 4: string displayName;
  404. 5: string statusMessage;
  405. 11: i64 contactCount;
  406. }
  407.  
  408. struct BuddyProfilePopup {
  409. 1: BuddyProfilePopupType popupType;
  410. 2: string linkUrl;
  411. 3: i32 backgroundColorRgb;
  412. 4: i32 textColorRgb;
  413. 5: string label;
  414. }
  415.  
  416. enum BuddyProfilePopupType {
  417. NONE = 0,
  418. WEB = 1,
  419. }
  420.  
  421. enum BuddyResultState {
  422. ACCEPTED = 1,
  423. SUCCEEDED = 2,
  424. FAILED = 3,
  425. CANCELLED = 4,
  426. NOTIFY_FAILED = 5,
  427. STORING = 11,
  428. UPLOADING = 21,
  429. NOTIFYING = 31,
  430. REMOVING_SUBSCRIPTION = 41,
  431. UNREGISTERING_ACCOUNT = 42,
  432. NOTIFYING_LEAVE_CHAT = 43,
  433. }
  434.  
  435. struct BuddyRichMenuChatBarItem {
  436. 1: string label;
  437. 2: string body;
  438. 3: bool selected;
  439. }
  440.  
  441. struct BuddyRichMenuContents {
  442. 1: string body;
  443. }
  444.  
  445. enum BuddySearchRequestSource {
  446. NA = 0,
  447. FRIEND_VIEW = 1,
  448. OFFICIAL_ACCOUNT_VIEW = 2,
  449. }
  450.  
  451. struct BuddySearchResult {
  452. 1: string mid;
  453. 2: string displayName;
  454. 3: string pictureStatus;
  455. 4: string picturePath;
  456. 5: string statusMessage;
  457. 6: bool businessAccount;
  458. 7: i32 iconType;
  459. 8: BotType botType;
  460. }
  461.  
  462. struct BuddyStatusBar {
  463. 1: string label;
  464. 2: BuddyStatusBarDisplayType displayType;
  465. }
  466.  
  467. enum BuddyStatusBarDisplayType {
  468. NOT_A_FRIEND = 0,
  469. ALWAYS = 1,
  470. }
  471.  
  472. struct BuddyTopView {
  473. 1: list<BuddyBanner> banners;
  474. 2: list<BuddyCollection> collections;
  475. 3: i64 rotationInterval;
  476. }
  477.  
  478. struct BuddyWebChatBarItem {
  479. 1: string label;
  480. 2: string url;
  481. }
  482.  
  483. struct BuddyWidget {
  484. 1: string icon;
  485. 2: string label;
  486. 3: string url;
  487. }
  488.  
  489. struct BuddyWidgetListCharBarItem {
  490. 1: string label;
  491. 2: list<BuddyWidget> widgets;
  492. 3: bool selected;
  493. }
  494.  
  495. struct CallHost {
  496. 1: string host;
  497. 2: i32 port;
  498. 3: string zone;
  499. }
  500.  
  501. enum CarrierCode {
  502. NOT_SPECIFIED = 0,
  503. JP_DOCOMO = 1,
  504. JP_AU = 2,
  505. JP_SOFTBANK = 3,
  506. KR_SKT = 17,
  507. KR_KT = 18,
  508. KR_LGT = 19,
  509. JP_DOCOMO_LINE = 4,
  510. }
  511. # Error? ChannelApplicationProvidedService$1.java
  512.  
  513. # Error? ChannelApplicationProvidedService$activeBuddySubscriberCount_args.java
  514.  
  515. # Error? ChannelApplicationProvidedService$AsyncClient.java
  516. # Error? ChannelApplicationProvidedService$AsyncIface.java
  517. # Error? ChannelApplicationProvidedService$AsyncProcessor.java
  518. # Error? ChannelApplicationProvidedService$Client.java
  519.  
  520. # Error? ChannelApplicationProvidedService$displayBuddySubscriberCount_args.java
  521.  
  522. # Error? ChannelApplicationProvidedService$getAllContactIdsForChannel_args.java
  523.  
  524. # Error? ChannelApplicationProvidedService$getExtendedProfile_args.java
  525.  
  526. # Error? ChannelApplicationProvidedService$getFavoriteGroupIdsForChannel_args.java
  527.  
  528. # Error? ChannelApplicationProvidedService$getFavoriteMidsForChannel_args.java
  529.  
  530. # Error? ChannelApplicationProvidedService$getFriendMids_args.java
  531.  
  532. # Error? ChannelApplicationProvidedService$getIdentityCredential_args.java
  533.  
  534. # Error? ChannelApplicationProvidedService$getJoinedGroupIdsForChannel_args.java
  535.  
  536. # Error? ChannelApplicationProvidedService$getMetaProfile_args.java
  537.  
  538. # Error? ChannelApplicationProvidedService$getMid_args.java
  539.  
  540. # Error? ChannelApplicationProvidedService$getOAFriendMids_args.java
  541.  
  542. # Error? ChannelApplicationProvidedService$getPrimaryClientForChannel_args.java
  543.  
  544. # Error? ChannelApplicationProvidedService$getProfileForChannel_args.java
  545.  
  546. # Error? ChannelApplicationProvidedService$getUserCreateTime_args.java
  547.  
  548. # Error? ChannelApplicationProvidedService$getUserIdentities_args.java
  549.  
  550. # Error? ChannelApplicationProvidedService$getUserLanguage_args.java
  551.  
  552. # Error? ChannelApplicationProvidedService$getUserMidsWhoAddedMe_args.java
  553.  
  554. # Error? ChannelApplicationProvidedService$Iface.java
  555.  
  556. # Error? ChannelApplicationProvidedService$isAllowSecondaryDeviceLogin_args.java
  557.  
  558. # Error? ChannelApplicationProvidedService$Processor.java
  559.  
  560. # Error? ChannelApplicationProvidedService.java
  561.  
  562. enum ChannelConfiguration {
  563. MESSAGE = 0,
  564. MESSAGE_NOTIFICATION = 1,
  565. NOTIFICATION_CENTER = 2,
  566. }
  567.  
  568. struct ChannelDomain {
  569. 1: string host;
  570. 2: bool removed;
  571. }
  572.  
  573. struct ChannelDomains {
  574. 1: list<ChannelDomain> channelDomains;
  575. 2: i64 revision;
  576. }
  577.  
  578. enum ChannelErrorCode {
  579. ILLEGAL_ARGUMENT = 0,
  580. INTERNAL_ERROR = 1,
  581. CONNECTION_ERROR = 2,
  582. AUTHENTICATIONI_FAILED = 3,
  583. NEED_PERMISSION_APPROVAL = 4,
  584. COIN_NOT_USABLE = 5,
  585. WEBVIEW_NOT_ALLOWED = 6,
  586. }
  587.  
  588. exception ChannelException {
  589. 1: ChannelErrorCode code;
  590. 2: string reason;
  591. 3: map<string, string> parameterMap;
  592. }
  593.  
  594. struct ChannelIdWithLastUpdated {
  595. 1: string channelId;
  596. 2: i64 lastUpdated;
  597. }
  598.  
  599. struct ChannelInfo {
  600. 1: string channelId;
  601. 3: string name;
  602. 4: string entryPageUrl;
  603. 5: string descriptionText;
  604. 6: ChannelProvider provider;
  605. 7: PublicType publicType;
  606. 8: string iconImage;
  607. 9: list<string> permissions;
  608. 11: string iconThumbnailImage;
  609. 12: list<ChannelConfiguration> channelConfigurations;
  610. 13: bool lcsAllApiUsable;
  611. 14: set<ChannelPermission> allowedPermissions;
  612. 15: list<ChannelDomain> channelDomains;
  613. 16: i64 updatedTimestamp;
  614. }
  615.  
  616. struct ChannelInfos {
  617. 1: list<ChannelInfo> channelInfos;
  618. 2: i64 revision;
  619. }
  620.  
  621. struct ChannelNotificationSetting {
  622. 1: string channelId;
  623. 2: string name;
  624. 3: bool notificationReceivable;
  625. 4: bool messageReceivable;
  626. 5: bool showDefault;
  627. }
  628.  
  629. enum ChannelPermission {
  630. PROFILE = 0,
  631. FRIENDS = 1,
  632. GROUP = 2,
  633. }
  634.  
  635. struct ChannelProvider {
  636. 1: string name;
  637. }
  638.  
  639. struct ChannelSettings {
  640. 1: bool unapprovedMessageReceivable;
  641. }
  642.  
  643. struct ChannelSyncDatas {
  644. 1: list<ChannelInfo> channelInfos;
  645. 2: list<ChannelDomain> channelDomains;
  646. 3: i64 revision;
  647. 4: i64 expires;
  648. }
  649.  
  650. enum ChannelSyncTarget {
  651. ALL = 255,
  652. CHANNEL_INFO = 1,
  653. CHANNEL_TOKEN = 2,
  654. COMMON_DOMAIN = 4,
  655. }
  656.  
  657. enum ChannelSyncType {
  658. SYNC = 0,
  659. REMOVE = 1,
  660. REMOVE_ALL = 2,
  661. }
  662.  
  663. struct ChannelToken {
  664. 1: string token;
  665. 2: string obsToken;
  666. 3: i64 expiration;
  667. 4: string refreshToken;
  668. 5: string channelAccessToken;
  669. }
  670.  
  671. struct ClientLastStatus {
  672. 1: i64 lastRev;
  673. 2: i32 badgeCount;
  674. }
  675.  
  676. struct Coin {
  677. 1: i32 freeCoinBalance;
  678. 2: i32 payedCoinBalance;
  679. 3: i32 totalCoinBalance;
  680. 4: i32 rewardCoinBalance;
  681. }
  682.  
  683. struct CoinHistory {
  684. 1: i64 payDate;
  685. 2: i32 coinBalance;
  686. 3: i32 coin;
  687. 4: string price;
  688. 5: string title;
  689. 6: bool refund;
  690. 7: string paySeq;
  691. 8: string currency;
  692. 9: string currencySign;
  693. 10: string displayPrice;
  694. 11: CoinPayLoad payload;
  695. 12: string channelId;
  696. }
  697.  
  698. struct CoinHistoryCondition {
  699. 1: i64 start;
  700. 2: i32 size;
  701. 3: string language;
  702. 4: string eddt;
  703. 5: PaymentType appStoreCode;
  704. }
  705.  
  706. struct CoinHistoryResult {
  707. 1: list<CoinHistory> historys;
  708. 2: Coin balance;
  709. 3: bool hasNext;
  710. }
  711.  
  712. struct CoinPayLoad {
  713. 1: i32 payCoin;
  714. 2: i32 freeCoin;
  715. 3: PayloadType type;
  716. 4: i32 rewardCoin;
  717. }
  718.  
  719. struct CoinProductItem {
  720. 1: string itemId;
  721. 2: i32 coin;
  722. 3: i32 freeCoin;
  723. 5: string currency;
  724. 6: string price;
  725. 7: string displayPrice;
  726. 8: string name;
  727. 9: string desc;
  728. }
  729.  
  730. struct CoinPurchaseConfirm {
  731. 1: string orderId;
  732. 2: PaymentType appStoreCode;
  733. 3: string receipt;
  734. 4: string signature;
  735. 5: string seller;
  736. 6: string requestType;
  737. 7: bool ignoreReceipt;
  738. }
  739.  
  740. struct CoinPurchaseReservation {
  741. 1: string productId;
  742. 2: string country;
  743. 3: string currency;
  744. 4: string price;
  745. 5: PaymentType appStoreCode;
  746. 6: string language;
  747. 7: PaymentPgType pgCode;
  748. 8: string redirectUrl;
  749. }
  750.  
  751. struct CoinUseReservation {
  752. 1: string channelId;
  753. 2: string shopOrderId;
  754. 3: PaymentType appStoreCode;
  755. 4: list<CoinUseReservationItem> items;
  756. 5: string country;
  757. }
  758.  
  759. struct CoinUseReservationItem {
  760. 1: string itemId;
  761. 2: string itemName;
  762. 3: i32 amount;
  763. }
  764.  
  765. struct CommitMessageResult {
  766. 1: Message message;
  767. 2: CommitMessageResultCode code;
  768. 3: string reason;
  769. 4: i64 successCount;
  770. 5: i64 failCount;
  771. 6: i64 unregisterCount;
  772. 7: i64 blockCount;
  773. }
  774.  
  775. enum CommitMessageResultCode {
  776. DELIVERED = 0,
  777. DELIVERY_SKIPPED = 1,
  778. DELIVERY_RESTRICTED = 2,
  779. }
  780.  
  781. struct CommitSendMessagesToMidRequest {
  782. 1: i32 seq;
  783. 2: list<string> messageIds;
  784. }
  785.  
  786. struct CommitSendMessagesToMidResponse {
  787. 1: i64 successCount;
  788. 2: i64 failCount;
  789. 3: i64 unregisterCount;
  790. 4: i64 blockCount;
  791. }
  792.  
  793. struct CompactContact {
  794. 1: string mid;
  795. 2: i64 createdTime;
  796. 3: i64 modifiedTime;
  797. 4: ContactStatus status;
  798. 5: i64 settings;
  799. 6: string displayNameOverridden;
  800. }
  801.  
  802. struct Configurations {
  803. 1: i64 revision;
  804. 2: map<string, string> configMap;
  805. }
  806.  
  807. struct Contact {
  808. 1: string mid;
  809. 2: i64 createdTime;
  810. 10: ContactType type;
  811. 11: ContactStatus status;
  812. 21: ContactRelation relation;
  813. 22: string displayName;
  814. 23: string phoneticName;
  815. 24: string pictureStatus;
  816. 25: string thumbnailUrl;
  817. 26: string statusMessage;
  818. 27: string displayNameOverridden;
  819. 28: i64 favoriteTime;
  820. 31: bool capableVoiceCall;
  821. 32: bool capableVideoCall;
  822. 33: bool capableMyhome;
  823. 34: bool capableBuddy;
  824. 35: i32 attributes;
  825. 36: i64 settings;
  826. 37: string picturePath;
  827. 38: string recommendParams;
  828. 39: FriendRequestStatus friendRequestStatus;
  829. 40: string musicProfile;
  830. 42: string videoProfile;
  831. }
  832.  
  833. enum ContactAttribute {
  834. CONTACT_ATTRIBUTE_CAPABLE_VOICE_CALL = 1,
  835. CONTACT_ATTRIBUTE_CAPABLE_VIDEO_CALL = 2,
  836. CONTACT_ATTRIBUTE_CAPABLE_MY_HOME = 16,
  837. CONTACT_ATTRIBUTE_CAPABLE_BUDDY = 32,
  838. }
  839.  
  840. enum ContactCategory {
  841. NORMAL = 0,
  842. RECOMMEND = 1,
  843. BLOCKED = 2,
  844. }
  845.  
  846. struct ContactModification {
  847. 1: ModificationType type;
  848. 2: string luid;
  849. 11: list<string> phones;
  850. 12: list<string> emails;
  851. 13: list<string> userids;
  852. }
  853.  
  854. struct ContactRegistration {
  855. 1: Contact contact;
  856. 10: string luid;
  857. 11: ContactType contactType;
  858. 12: string contactKey;
  859. }
  860.  
  861. enum ContactRelation {
  862. ONEWAY = 0,
  863. BOTH = 1,
  864. NOT_REGISTERED = 2,
  865. }
  866.  
  867. struct ContactReport {
  868. 1: string mid;
  869. 2: bool exists;
  870. 3: Contact contact;
  871. }
  872.  
  873. struct ContactReportResult {
  874. 1: string mid;
  875. 2: bool exists;
  876. }
  877.  
  878. enum ContactSetting {
  879. CONTACT_SETTING_NOTIFICATION_DISABLE = 1,
  880. CONTACT_SETTING_DISPLAY_NAME_OVERRIDE = 2,
  881. CONTACT_SETTING_CONTACT_HIDE = 4,
  882. CONTACT_SETTING_FAVORITE = 8,
  883. CONTACT_SETTING_DELETE = 16,
  884. }
  885.  
  886. enum ContactStatus {
  887. UNSPECIFIED = 0,
  888. FRIEND = 1,
  889. FRIEND_BLOCKED = 2,
  890. RECOMMEND = 3,
  891. RECOMMEND_BLOCKED = 4,
  892. DELETED = 5,
  893. DELETED_BLOCKED = 6,
  894. }
  895.  
  896. struct ContactTransition {
  897. 1: string ownerMid;
  898. 2: string targetMid;
  899. 3: ContactStatus previousStatus;
  900. 4: ContactStatus resultStatus;
  901. }
  902.  
  903. enum ContactType {
  904. MID = 0,
  905. PHONE = 1,
  906. EMAIL = 2,
  907. USERID = 3,
  908. PROXIMITY = 4,
  909. GROUP = 5,
  910. USER = 6,
  911. QRCODE = 7,
  912. PROMOTION_BOT = 8,
  913. CONTACT_MESSAGE = 9,
  914. FRIEND_REQUEST = 10,
  915. REPAIR = 128,
  916. FACEBOOK = 2305,
  917. SINA = 2306,
  918. RENREN = 2307,
  919. FEIXIN = 2308,
  920. BBM = 2309,
  921. BEACON = 11,
  922. }
  923.  
  924. enum ContentType {
  925. NONE = 0,
  926. IMAGE = 1,
  927. VIDEO = 2,
  928. AUDIO = 3,
  929. HTML = 4,
  930. PDF = 5,
  931. CALL = 6,
  932. STICKER = 7,
  933. PRESENCE = 8,
  934. GIFT = 9,
  935. GROUPBOARD = 10,
  936. APPLINK = 11,
  937. LINK = 12,
  938. CONTACT = 13,
  939. FILE = 14,
  940. LOCATION = 15,
  941. POSTNOTIFICATION = 16,
  942. RICH = 17,
  943. CHATEVENT = 18,
  944. MUSIC = 19,
  945. PAYMENT = 20,
  946. EXTIMAGE = 21,
  947. }
  948.  
  949. enum CustomMode {
  950. PROMOTION_FRIENDS_INVITE = 1,
  951. CAPABILITY_SERVER_SIDE_SMS = 2,
  952. LINE_CLIENT_ANALYTICS_CONFIGURATION = 3,
  953. }
  954.  
  955. enum DeviceBooleanStateKey {
  956. BEACON_AGREEMENT = 1,
  957. BLUETOOTH = 2,
  958. }
  959.  
  960. struct DeviceInfo {
  961. 1: string deviceName;
  962. 2: string systemName;
  963. 3: string systemVersion;
  964. 4: string model;
  965. 5: string webViewVersion;
  966. 10: CarrierCode carrierCode;
  967. 11: string carrierName;
  968. 20: ApplicationType applicationType;
  969. }
  970.  
  971. enum DeviceStringStateKey {
  972. LOCATION_OS = 1,
  973. LOCATION_APP = 2,
  974. }
  975.  
  976. enum Diff {
  977. ADDED = 0,
  978. UPDATED = 1,
  979. REMOVED = 2,
  980. }
  981.  
  982. struct E2EEGroupSharedKey {
  983. 1: i32 version;
  984. 2: i32 groupKeyId;
  985. 3: string creator;
  986. 4: i32 creatorKeyId;
  987. 5: string receiver;
  988. 6: i32 receiverKeyId;
  989. 7: binary encryptedSharedKey;
  990. 8: set<ContentType> allowedTypes;
  991. }
  992.  
  993. struct E2EEKey {
  994. 1: i32 version;
  995. 2: i32 keyId;
  996. 4: binary publicKey;
  997. 5: binary privateKey;
  998. 6: i64 createdTime;
  999. }
  1000.  
  1001. struct E2EEKeyChain {
  1002. 1: list<E2EEKey> keychain;
  1003. }
  1004.  
  1005. struct E2EENegotiationResult {
  1006. 1: set<ContentType> allowedTypes;
  1007. 2: E2EEPublicKey publicKey;
  1008. }
  1009.  
  1010. struct E2EEPublicKey {
  1011. 1: i32 version;
  1012. 2: i32 keyId;
  1013. 4: binary keyData;
  1014. 5: i64 createdTime;
  1015. }
  1016.  
  1017. struct EmailConfirmation {
  1018. 1: bool usePasswordSet;
  1019. 2: string email;
  1020. 3: string password;
  1021. 4: bool ignoreDuplication;
  1022. 5: bool useEmailOnly;
  1023. }
  1024.  
  1025. struct EmailConfirmationResult {
  1026. 1: string certificate;
  1027. }
  1028.  
  1029. struct EmailConfirmationSession {
  1030. 1: EmailConfirmationType emailConfirmationType;
  1031. 2: string verifier;
  1032. 3: string targetEmail;
  1033. }
  1034.  
  1035. enum EmailConfirmationStatus {
  1036. NOT_SPECIFIED = 0,
  1037. NOT_YET = 1,
  1038. DONE = 3,
  1039. NEED_ENFORCED_INPUT = 4,
  1040. }
  1041.  
  1042. enum EmailConfirmationType {
  1043. SERVER_SIDE_EMAIL = 0,
  1044. CLIENT_SIDE_EMAIL = 1,
  1045. }
  1046.  
  1047. enum ErrorCode {
  1048. ILLEGAL_ARGUMENT = 0,
  1049. AUTHENTICATION_FAILED = 1,
  1050. DB_FAILED = 2,
  1051. INVALID_STATE = 3,
  1052. EXCESSIVE_ACCESS = 4,
  1053. NOT_FOUND = 5,
  1054. INVALID_MID = 9,
  1055. NOT_A_MEMBER = 10,
  1056. INVALID_LENGTH = 6,
  1057. NOT_AVAILABLE_USER = 7,
  1058. NOT_AUTHORIZED_DEVICE = 8,
  1059. NOT_AUTHORIZED_SESSION = 14,
  1060. INCOMPATIBLE_APP_VERSION = 11,
  1061. NOT_READY = 12,
  1062. NOT_AVAILABLE_SESSION = 13,
  1063. SYSTEM_ERROR = 15,
  1064. NO_AVAILABLE_VERIFICATION_METHOD = 16,
  1065. NOT_AUTHENTICATED = 17,
  1066. INVALID_IDENTITY_CREDENTIAL = 18,
  1067. NOT_AVAILABLE_IDENTITY_IDENTIFIER = 19,
  1068. INTERNAL_ERROR = 20,
  1069. NO_SUCH_IDENTITY_IDENFIER = 21,
  1070. DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY = 22,
  1071. ILLEGAL_IDENTITY_CREDENTIAL = 23,
  1072. UNKNOWN_CHANNEL = 24,
  1073. NO_SUCH_MESSAGE_BOX = 25,
  1074. NOT_AVAILABLE_MESSAGE_BOX = 26,
  1075. CHANNEL_DOES_NOT_MATCH = 27,
  1076. NOT_YOUR_MESSAGE = 28,
  1077. MESSAGE_DEFINED_ERROR = 29,
  1078. USER_CANNOT_ACCEPT_PRESENTS = 30,
  1079. USER_NOT_STICKER_OWNER = 32,
  1080. MAINTENANCE_ERROR = 33,
  1081. ACCOUNT_NOT_MATCHED = 34,
  1082. ABUSE_BLOCK = 35,
  1083. NOT_FRIEND = 36,
  1084. NOT_ALLOWED_CALL = 37,
  1085. BLOCK_FRIEND = 38,
  1086. INCOMPATIBLE_VOIP_VERSION = 39,
  1087. INVALID_SNS_ACCESS_TOKEN = 40,
  1088. EXTERNAL_SERVICE_NOT_AVAILABLE = 41,
  1089. NOT_ALLOWED_ADD_CONTACT = 42,
  1090. NOT_CERTIFICATED = 43,
  1091. NOT_ALLOWED_SECONDARY_DEVICE = 44,
  1092. INVALID_PIN_CODE = 45,
  1093. NOT_FOUND_IDENTITY_CREDENTIAL = 46,
  1094. EXCEED_FILE_MAX_SIZE = 47,
  1095. EXCEED_DAILY_QUOTA = 48,
  1096. NOT_SUPPORT_SEND_FILE = 49,
  1097. MUST_UPGRADE = 50,
  1098. NOT_AVAILABLE_PIN_CODE_SESSION = 51,
  1099. EXPIRED_REVISION = 52,
  1100. NOT_YET_PHONE_NUMBER = 54,
  1101. BAD_CALL_NUMBER = 55,
  1102. UNAVAILABLE_CALL_NUMBER = 56,
  1103. NOT_SUPPORT_CALL_SERVICE = 57,
  1104. CONGESTION_CONTROL = 58,
  1105. NO_BALANCE = 59,
  1106. NOT_PERMITTED_CALLER_ID = 60,
  1107. NO_CALLER_ID_LIMIT_EXCEEDED = 61,
  1108. CALLER_ID_VERIFICATION_REQUIRED = 62,
  1109. NO_CALLER_ID_LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED = 63,
  1110. MESSAGE_NOT_FOUND = 64,
  1111. INVALID_ACCOUNT_MIGRATION_PINCODE_FORMAT = 65,
  1112. ACCOUNT_MIGRATION_PINCODE_NOT_MATCHED = 66,
  1113. ACCOUNT_MIGRATION_PINCODE_BLOCKED = 67,
  1114. INVALID_PASSWORD_FORMAT = 69,
  1115. FEATURE_RESTRICTED = 70,
  1116. MESSAGE_NOT_DESTRUCTIBLE = 71,
  1117. PAID_CALL_REDEEM_FAILED = 72,
  1118. PREVENTED_JOIN_BY_TICKET = 73,
  1119. SEND_MESSAGE_NOT_PERMITTED_FROM_LINE_AT = 75,
  1120. SEND_MESSAGE_NOT_PERMITTED_WHILE_AUTO_REPLY = 76,
  1121. SECURITY_CENTER_NOT_VERIFIED = 77,
  1122. SECURITY_CENTER_BLOCKED_BY_SETTING = 78,
  1123. SECURITY_CENTER_BLOCKED = 79,
  1124. TALK_PROXY_EXCEPTION = 80,
  1125. E2EE_INVALID_PROTOCOL = 81,
  1126. E2EE_RETRY_ENCRYPT = 82,
  1127. E2EE_UPDATE_SENDER_KEY = 83,
  1128. E2EE_UPDATE_RECEIVER_KEY = 84,
  1129. E2EE_INVALID_ARGUMENT = 85,
  1130. E2EE_INVALID_VERSION = 86,
  1131. E2EE_SENDER_DISABLED = 87,
  1132. E2EE_RECEIVER_DISABLED = 88,
  1133. E2EE_SENDER_NOT_ALLOWED = 89,
  1134. E2EE_RECEIVER_NOT_ALLOWED = 90,
  1135. E2EE_RESEND_FAIL = 91,
  1136. E2EE_RESEND_OK = 92,
  1137. HITOKOTO_BACKUP_NO_AVAILABLE_DATA = 93,
  1138. E2EE_UPDATE_PRIMARY_DEVICE = 94,
  1139. SUCCESS = 95,
  1140. CANCEL = 96,
  1141. E2EE_PRIMARY_NOT_SUPPORT = 97,
  1142. E2EE_RETRY_PLAIN = 98,
  1143. E2EE_RECREATE_GROUP_KEY = 99,
  1144. E2EE_GROUP_TOO_MANY_MEMBERS = 100,
  1145. SERVER_BUSY = 101,
  1146. NOT_ALLOWED_ADD_FOLLOW = 102,
  1147. INCOMING_FRIEND_REQUEST_LIMIT = 103,
  1148. OUTGOING_FRIEND_REQUEST_LIMIT = 104,
  1149. OUTGOING_FRIEND_REQUEST_QUOTA = 105,
  1150. DUPLICATED = 106,
  1151. BANNED = 107,
  1152. }
  1153.  
  1154. struct ExtendedProfile {
  1155. 1: ExtendedProfileBirthday birthday;
  1156. }
  1157.  
  1158. enum ExtendedProfileAttribute {
  1159. # Error? ExtendedProfileAttribute.java
  1160. }
  1161.  
  1162. struct ExtendedProfileBirthday {
  1163. 1: string year;
  1164. 2: PrivacyLevelType yearPrivacyLevelType;
  1165. 3: bool yearEnabled;
  1166. 5: string day;
  1167. 6: PrivacyLevelType dayPrivacyLevelType;
  1168. 7: bool dayEnabled;
  1169. }
  1170.  
  1171. enum FeatureType {
  1172. OBS_VIDEO = 1,
  1173. OBS_GENERAL = 2,
  1174. }
  1175.  
  1176. struct FriendChannelMatricesResponse {
  1177. 1: i64 expires;
  1178. 2: list<FriendChannelMatrix> matrices;
  1179. }
  1180.  
  1181. struct FriendChannelMatrix {
  1182. 1: string channelId;
  1183. 2: string representMid;
  1184. 3: i32 count;
  1185. 4: i32 point;
  1186. }
  1187.  
  1188. struct FriendRequest {
  1189. 1: string eMid;
  1190. 2: string mid;
  1191. 3: FriendRequestDirection direction;
  1192. 4: FriendRequestMethod method;
  1193. 5: string param;
  1194. 6: i64 timestamp;
  1195. 7: i64 seqId;
  1196. 10: string displayName;
  1197. 11: string picturePath;
  1198. 12: string pictureStatus;
  1199. }
  1200.  
  1201. enum FriendRequestDirection {
  1202. INCOMING = 1,
  1203. OUTGOING = 2,
  1204. }
  1205.  
  1206. enum FriendRequestMethod {
  1207. TIMELINE = 1,
  1208. NEARBY = 2,
  1209. SQUARE = 3,
  1210. }
  1211.  
  1212. struct FriendRequestsInfo {
  1213. 1: i32 totalIncomingCount;
  1214. 2: i32 totalOutgoingCount;
  1215. 3: list<FriendRequest> recentIncomings;
  1216. 4: list<FriendRequest> recentOutgoings;
  1217. 5: i32 totalIncomingLimit;
  1218. 6: i32 totalOutgoingLimit;
  1219. }
  1220.  
  1221. enum FriendRequestStatus {
  1222. NONE = 0,
  1223. AVAILABLE = 1,
  1224. ALREADY_REQUESTED = 2,
  1225. UNAVAILABLE = 3,
  1226. }
  1227.  
  1228. struct Geolocation {
  1229. 1: double longitude;
  1230. 2: double latitude;
  1231. }
  1232.  
  1233. struct GetBalanceRequest {
  1234. }
  1235. # Error? GetBalanceRequest.java
  1236.  
  1237. struct GetBalanceResponse {
  1238. 1: Balance balance;
  1239. }
  1240.  
  1241. struct GetCoinHistoryRequest {
  1242. 1: PaymentType appStoreCode;
  1243. 2: string country;
  1244. 3: string language;
  1245. 4: string searchEndDate;
  1246. 5: i32 offset;
  1247. 6: i32 limit;
  1248. }
  1249.  
  1250. struct GetCoinHistoryResponse {
  1251. 1: list<CoinHistory> histories;
  1252. 2: Coin balance;
  1253. 3: i32 offset;
  1254. 4: bool hasNext;
  1255. }
  1256.  
  1257. struct GetCoinProductsRequest {
  1258. 1: PaymentType appStoreCode;
  1259. 2: string country;
  1260. 3: string language;
  1261. 4: PaymentPgType pgCode;
  1262. }
  1263.  
  1264. struct GetCoinProductsResponse {
  1265. 1: list<CoinProductItem> items;
  1266. }
  1267.  
  1268. struct GetTotalCoinBalanceRequest {
  1269. 1: PaymentType appStoreCode;
  1270. }
  1271.  
  1272. struct GetTotalCoinBalanceResponse {
  1273. 1: string totalBalance;
  1274. 2: string paidCoinBalance;
  1275. 3: string freeCoinBalance;
  1276. 4: string rewardCoinBalance;
  1277. 5: string expectedAutoExchangedCoinBalance;
  1278. }
  1279.  
  1280. struct Group {
  1281. 1: string id;
  1282. 2: i64 createdTime;
  1283. 10: string name;
  1284. 11: string pictureStatus;
  1285. 12: bool preventedJoinByTicket;
  1286. 13: GroupPreference groupPreference;
  1287. 20: list<Contact> members;
  1288. 21: Contact creator;
  1289. 22: list<Contact> invitee;
  1290. 31: bool notificationDisabled;
  1291. 32: string picturePath;
  1292. 40: list<string> memberMids;
  1293. 41: list<string> inviteeMids;
  1294. }
  1295.  
  1296. enum GroupAttribute {
  1297. ALL = 255,
  1298. NAME = 1,
  1299. PICTURE_STATUS = 2,
  1300. PREVENTED_JOIN_BY_TICKET = 4,
  1301. NOTIFICATION_SETTING = 8,
  1302. }
  1303.  
  1304. struct GroupCall {
  1305. 1: bool online;
  1306. 2: string chatMid;
  1307. 3: string hostMid;
  1308. 4: list<string> memberMids;
  1309. 5: i64 started;
  1310. 6: GroupCallMediaType mediaType;
  1311. }
  1312.  
  1313. enum GroupCallMediaType {
  1314. AUDIO = 1,
  1315. VIDEO = 2,
  1316. }
  1317.  
  1318. struct GroupCallRoute {
  1319. 1: string token;
  1320. 2: CallHost cscf;
  1321. 3: CallHost mix;
  1322. }
  1323.  
  1324. struct GroupPreference {
  1325. 11: string invitationTicket;
  1326. 12: i64 favoriteTimestamp;
  1327. }
  1328.  
  1329. enum GroupPreferenceAttribute {
  1330. INVITATION_TICKET = 1,
  1331. FAVORITE_TIMESTAMP = 2,
  1332. }
  1333.  
  1334. struct IdentityCredential {
  1335. 1: IdentityProvider provider;
  1336. 2: string identifier;
  1337. 3: string password;
  1338. }
  1339.  
  1340. enum IdentityProvider {
  1341. UNKNOWN = 0,
  1342. LINE = 1,
  1343. NAVER_KR = 2,
  1344. LINE_PHONE = 3,
  1345. }
  1346.  
  1347. struct Location {
  1348. 1: string title;
  1349. 2: string address;
  1350. 3: double latitude;
  1351. 4: double longitude;
  1352. 5: string phone;
  1353. }
  1354.  
  1355. struct LoginRequest {
  1356. 1: LoginType type;
  1357. 2: IdentityProvider identityProvider;
  1358. 3: string identifier;
  1359. 4: string password;
  1360. 5: bool keepLoggedIn;
  1361. 6: string accessLocation;
  1362. 7: string systemName;
  1363. 8: string certificate;
  1364. 9: string verifier;
  1365. 10: binary secret;
  1366. 11: i32 e2eeVersion;
  1367. }
  1368.  
  1369. struct LoginResult {
  1370. 1: string authToken;
  1371. 2: string certificate;
  1372. 3: string verifier;
  1373. 4: string pinCode;
  1374. 5: LoginResultType type;
  1375. 6: i64 lastPrimaryBindTime;
  1376. 7: string displayMessage;
  1377. 8: VerificationSessionData sessionForSMSConfirm;
  1378. }
  1379.  
  1380. enum LoginResultType {
  1381. SUCCESS = 1,
  1382. REQUIRE_QRCODE = 2,
  1383. REQUIRE_DEVICE_CONFIRM = 3,
  1384. REQUIRE_SMS_CONFIRM = 4,
  1385. }
  1386.  
  1387. struct LoginSession {
  1388. 1: string tokenKey;
  1389. 3: i64 expirationTime;
  1390. 11: ApplicationType applicationType;
  1391. 12: string systemName;
  1392. 22: string accessLocation;
  1393. }
  1394.  
  1395. enum LoginType {
  1396. ID_CREDENTIAL = 0,
  1397. QRCODE = 1,
  1398. ID_CREDENTIAL_WITH_E2EE = 2,
  1399. }
  1400.  
  1401. struct Message {
  1402. 1: string from_;
  1403. 2: string to;
  1404. 3: MIDType toType;
  1405. 4: string id;
  1406. 5: i64 createdTime;
  1407. 6: i64 deliveredTime;
  1408. 10: string text;
  1409. 11: Location location;
  1410. 14: bool hasContent;
  1411. 15: ContentType contentType;
  1412. 17: binary contentPreview;
  1413. 18: map<string, string> contentMetadata;
  1414. 19: i8 sessionId;
  1415. 20: list<binary> chunks;
  1416. 21: string relatedMessageId;
  1417. 22: MessageRelationType messageRelationType;
  1418. 23: i32 readCount;
  1419. 24: ServiceCode relatedMessageServiceCode;
  1420. }
  1421.  
  1422. struct MessageBoxV2MessageId {
  1423. 1: i64 deliveredTime;
  1424. 2: i64 messageId;
  1425. }
  1426.  
  1427. struct MessageCommitResult {
  1428. 1: string requestId;
  1429. 2: BuddyResultState state;
  1430. 3: string messageStoreRequestId;
  1431. 4: list<string> messageIds;
  1432. 11: i64 receiverCount;
  1433. 12: i64 successCount;
  1434. 13: i64 failCount;
  1435. 14: i64 blockCount;
  1436. 15: i64 unregisteredCount;
  1437. 16: i64 unrelatedCount;
  1438. 21: string errorDescription;
  1439. }
  1440.  
  1441. enum MessageRelationType {
  1442. FORWARD = 0,
  1443. AUTO_REPLY = 1,
  1444. SUBORDINATE = 2,
  1445. }
  1446.  
  1447. struct MessageStoreResult {
  1448. 1: string requestId;
  1449. 2: list<string> messageIds;
  1450. }
  1451.  
  1452. struct MetaProfile {
  1453. 1: i64 createTime;
  1454. 2: string regionCode;
  1455. 3: map<RegistrationType, string> identities;
  1456. 4: string udid;
  1457. }
  1458.  
  1459. enum MIDType {
  1460. USER = 0,
  1461. ROOM = 1,
  1462. GROUP = 2,
  1463. SQUARE = 3,
  1464. SQUARE_CHAT = 4,
  1465. SQUARE_MEMBER = 5,
  1466. }
  1467.  
  1468. enum ModificationType {
  1469. ADD = 0,
  1470. REMOVE = 1,
  1471. MODIFY = 2,
  1472. }
  1473.  
  1474. struct MoretabRecommend {
  1475. 1: list<MoretabRecommendAccount> accounts;
  1476. 2: i64 nextUpdateTime;
  1477. 3: i64 cacheTtlMillis;
  1478. }
  1479.  
  1480. struct MoretabRecommendAccount {
  1481. 1: string mid;
  1482. 2: string displayName;
  1483. 3: string statusMessage;
  1484. 4: string pictureStatus;
  1485. 5: string picturePath;
  1486. }
  1487.  
  1488. struct NearbyEntry {
  1489. 1: string emid;
  1490. 2: double distance;
  1491. 3: i32 lastUpdatedInSec;
  1492. 4: map<string, string> property;
  1493. 5: Profile profile;
  1494. }
  1495.  
  1496. struct NotiCenterEventData {
  1497. 1: string id;
  1498. 2: string to;
  1499. 3: string from_;
  1500. 4: string toChannel;
  1501. 5: string fromChannel;
  1502. 6: string eventType;
  1503. 7: i64 createdTime;
  1504. 8: i64 operationRevision;
  1505. 9: map<string, string> content;
  1506. 10: map<string, string> push;
  1507. }
  1508.  
  1509. struct NotificationFetchResult {
  1510. 1: NotificationItemFetchMode fetchMode;
  1511. 2: list<NotificationItem> itemList;
  1512. }
  1513.  
  1514. struct NotificationItem {
  1515. 1: string id;
  1516. 2: string from_;
  1517. 3: string to;
  1518. 4: string fromChannel;
  1519. 5: string toChannel;
  1520. 7: i64 revision;
  1521. 8: i64 createdTime;
  1522. 9: map<string, string> content;
  1523. }
  1524.  
  1525. enum NotificationItemFetchMode {
  1526. ALL = 0,
  1527. APPEND = 1,
  1528. }
  1529.  
  1530. enum NotificationStatus {
  1531. NOTIFICATION_ITEM_EXIST = 1,
  1532. TIMELINE_ITEM_EXIST = 2,
  1533. NOTE_GROUP_NEW_ITEM_EXIST = 4,
  1534. TIMELINE_BUDDYGROUP_CHANGED = 8,
  1535. NOTE_ONE_TO_ONE_NEW_ITEM_EXIST = 16,
  1536. ALBUM_ITEM_EXIST = 32,
  1537. TIMELINE_ITEM_DELETED = 64,
  1538. OTOGROUP_ITEM_EXIST = 128,
  1539. GROUPHOME_NEW_ITEM_EXIST = 256,
  1540. GROUPHOME_HIDDEN_ITEM_CHANGED = 512,
  1541. NOTIFICATION_ITEM_CHANGED = 1024,
  1542. BEAD_ITEM_HIDE = 2048,
  1543. BEAD_ITEM_SHOW = 4096,
  1544. }
  1545.  
  1546. enum NotificationType {
  1547. APPLE_APNS = 1,
  1548. GOOGLE_C2DM = 2,
  1549. NHN_NNI = 3,
  1550. SKT_AOM = 4,
  1551. MS_MPNS = 5,
  1552. RIM_BIS = 6,
  1553. GOOGLE_GCM = 7,
  1554. NOKIA_NNAPI = 8,
  1555. TIZEN = 9,
  1556. MOZILLA_SIMPLE = 10,
  1557. LINE_BOT = 17,
  1558. LINE_WAP = 18,
  1559. APPLE_APNS_VOIP = 19,
  1560. MS_WNS = 20,
  1561. }
  1562.  
  1563. struct Operation {
  1564. 1: i64 revision;
  1565. 2: i64 createdTime;
  1566. 3: OpType type;
  1567. 4: i32 reqSeq;
  1568. 5: string checksum;
  1569. 7: OpStatus status;
  1570. 10: string param1;
  1571. 11: string param2;
  1572. 12: string param3;
  1573. 20: Message message;
  1574. }
  1575.  
  1576. enum OpStatus {
  1577. NORMAL = 0,
  1578. ALERT_DISABLED = 1,
  1579. ALWAYS = 2,
  1580. }
  1581.  
  1582. enum OpType {
  1583. END_OF_OPERATION = 0,
  1584. UPDATE_PROFILE = 1,
  1585. UPDATE_SETTINGS = 36,
  1586. NOTIFIED_UPDATE_PROFILE = 2,
  1587. REGISTER_USERID = 3,
  1588. ADD_CONTACT = 4,
  1589. NOTIFIED_ADD_CONTACT = 5,
  1590. BLOCK_CONTACT = 6,
  1591. UNBLOCK_CONTACT = 7,
  1592. NOTIFIED_RECOMMEND_CONTACT = 8,
  1593. CREATE_GROUP = 9,
  1594. UPDATE_GROUP = 10,
  1595. NOTIFIED_UPDATE_GROUP = 11,
  1596. INVITE_INTO_GROUP = 12,
  1597. NOTIFIED_INVITE_INTO_GROUP = 13,
  1598. CANCEL_INVITATION_GROUP = 31,
  1599. NOTIFIED_CANCEL_INVITATION_GROUP = 32,
  1600. LEAVE_GROUP = 14,
  1601. NOTIFIED_LEAVE_GROUP = 15,
  1602. ACCEPT_GROUP_INVITATION = 16,
  1603. NOTIFIED_ACCEPT_GROUP_INVITATION = 17,
  1604. REJECT_GROUP_INVITATION = 34,
  1605. NOTIFIED_REJECT_GROUP_INVITATION = 35,
  1606. KICKOUT_FROM_GROUP = 18,
  1607. NOTIFIED_KICKOUT_FROM_GROUP = 19,
  1608. CREATE_ROOM = 20,
  1609. INVITE_INTO_ROOM = 21,
  1610. NOTIFIED_INVITE_INTO_ROOM = 22,
  1611. LEAVE_ROOM = 23,
  1612. NOTIFIED_LEAVE_ROOM = 24,
  1613. SEND_MESSAGE = 25,
  1614. RECEIVE_MESSAGE = 26,
  1615. SEND_MESSAGE_RECEIPT = 27,
  1616. RECEIVE_MESSAGE_RECEIPT = 28,
  1617. SEND_CONTENT_RECEIPT = 29,
  1618. SEND_CHAT_CHECKED = 40,
  1619. SEND_CHAT_REMOVED = 41,
  1620. RECEIVE_ANNOUNCEMENT = 30,
  1621. INVITE_VIA_EMAIL = 38,
  1622. NOTIFIED_REGISTER_USER = 37,
  1623. NOTIFIED_UNREGISTER_USER = 33,
  1624. NOTIFIED_REQUEST_RECOVERY = 39,
  1625. NOTIFIED_FORCE_SYNC = 42,
  1626. SEND_CONTENT = 43,
  1627. SEND_MESSAGE_MYHOME = 44,
  1628. NOTIFIED_UPDATE_CONTENT_PREVIEW = 45,
  1629. REMOVE_ALL_MESSAGES = 46,
  1630. NOTIFIED_UPDATE_PURCHASES = 47,
  1631. DUMMY = 48,
  1632. UPDATE_CONTACT = 49,
  1633. NOTIFIED_RECEIVED_CALL = 50,
  1634. CANCEL_CALL = 51,
  1635. NOTIFIED_REDIRECT = 52,
  1636. NOTIFIED_CHANNEL_SYNC = 53,
  1637. FAILED_SEND_MESSAGE = 54,
  1638. NOTIFIED_READ_MESSAGE = 55,
  1639. FAILED_EMAIL_CONFIRMATION = 56,
  1640. NOTIFIED_PUSH_NOTICENTER_ITEM = 59,
  1641. NOTIFIED_CHAT_CONTENT = 58,
  1642. NOTIFIED_JOIN_CHAT = 60,
  1643. NOTIFIED_LEAVE_CHAT = 61,
  1644. NOTIFIED_TYPING = 62,
  1645. FRIEND_REQUEST_ACCEPTED = 63,
  1646. DESTROY_MESSAGE = 64,
  1647. NOTIFIED_DESTROY_MESSAGE = 65,
  1648. UPDATE_PUBLICKEYCHAIN = 66,
  1649. NOTIFIED_UPDATE_PUBLICKEYCHAIN = 67,
  1650. NOTIFIED_BLOCK_CONTACT = 68,
  1651. NOTIFIED_UNBLOCK_CONTACT = 69,
  1652. UPDATE_GROUPPREFERENCE = 70,
  1653. NOTIFIED_PAYMENT_EVENT = 71,
  1654. REGISTER_E2EE_PUBLICKEY = 72,
  1655. NOTIFIED_E2EE_KEY_EXCHANGE_REQ = 73,
  1656. NOTIFIED_E2EE_KEY_EXCHANGE_RESP = 74,
  1657. NOTIFIED_E2EE_MESSAGE_RESEND_REQ = 75,
  1658. NOTIFIED_E2EE_MESSAGE_RESEND_RESP = 76,
  1659. NOTIFIED_E2EE_KEY_UPDATE = 77,
  1660. NOTIFIED_BUDDY_UPDATE_PROFILE = 78,
  1661. NOTIFIED_UPDATE_LINEAT_TABS = 79,
  1662. UPDATE_ROOM = 80,
  1663. NOTIFIED_BEACON_DETECTED = 81,
  1664. UPDATE_EXTENDED_PROFILE = 82,
  1665. ADD_FOLLOW = 83,
  1666. NOTIFIED_ADD_FOLLOW = 84,
  1667. DELETE_FOLLOW = 85,
  1668. NOTIFIED_DELETE_FOLLOW = 86,
  1669. UPDATE_TIMELINE_SETTINGS = 87,
  1670. NOTIFIED_FRIEND_REQUEST = 88,
  1671. UPDATE_RINGBACK_TONE = 89,
  1672. NOTIFIED_POSTBACK = 90,
  1673. RECEIVE_READ_WATERMARK = 91,
  1674. NOTIFIED_MESSAGE_DELIVERED = 92,
  1675. }
  1676.  
  1677. struct OTPResult {
  1678. 1: string otpId;
  1679. 2: string otp;
  1680. }
  1681.  
  1682. struct PaidCallAdCountry {
  1683. 1: string countryCode;
  1684. 2: string rateDivision;
  1685. }
  1686.  
  1687. struct PaidCallAdResult {
  1688. 1: i32 adRemains;
  1689. }
  1690.  
  1691. struct PaidCallBalance {
  1692. 1: PaidCallProductType productType;
  1693. 2: string productName;
  1694. 3: string unit;
  1695. 4: i32 limitedPaidBalance;
  1696. 5: i32 limitedFreeBalance;
  1697. 6: i32 unlimitedPaidBalance;
  1698. 7: i32 unlimitedFreeBalance;
  1699. 8: i64 startTime;
  1700. 9: i64 endTime;
  1701. 10: bool autopayEnabled;
  1702. }
  1703.  
  1704. struct PaidCallCurrencyExchangeRate {
  1705. 1: string currencyCode;
  1706. 2: string currencyName;
  1707. 3: string currencySign;
  1708. 4: bool preferred;
  1709. 5: string coinRate;
  1710. 6: string creditRate;
  1711. }
  1712.  
  1713. struct PaidCallDialing {
  1714. 1: PaidCallType type;
  1715. 2: string dialedNumber;
  1716. 3: string serviceDomain;
  1717. 4: PaidCallProductType productType;
  1718. 5: string productName;
  1719. 6: bool multipleProduct;
  1720. 7: PaidCallerIdStatus callerIdStatus;
  1721. 10: i32 balance;
  1722. 11: string unit;
  1723. 12: i32 rate;
  1724. 13: string displayCode;
  1725. 14: string calledNumber;
  1726. 15: string calleeNationalNumber;
  1727. 16: string calleeCallingCode;
  1728. 17: string rateDivision;
  1729. 20: i32 adMaxMin;
  1730. 21: i32 adRemains;
  1731. 22: string adSessionId;
  1732. }
  1733.  
  1734. enum PaidCallerIdStatus {
  1735. NOT_SPECIFIED = 0,
  1736. VALID = 1,
  1737. VERIFICATION_REQUIRED = 2,
  1738. NOT_PERMITTED = 3,
  1739. LIMIT_EXCEEDED = 4,
  1740. LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED = 5,
  1741. }
  1742.  
  1743. struct PaidCallHistory {
  1744. 1: i64 seq;
  1745. 2: PaidCallType type;
  1746. 3: string dialedNumber;
  1747. 4: string calledNumber;
  1748. 5: string toMid;
  1749. 6: string toName;
  1750. 7: i64 setupTime;
  1751. 8: i64 startTime;
  1752. 9: i64 endTime;
  1753. 10: i64 duration;
  1754. 11: i32 terminate;
  1755. 12: PaidCallProductType productType;
  1756. 13: i32 charge;
  1757. 14: string unit;
  1758. 15: string result;
  1759. }
  1760.  
  1761. struct PaidCallHistoryResult {
  1762. 1: list<PaidCallHistory> historys;
  1763. 2: bool hasNext;
  1764. }
  1765.  
  1766. struct PaidCallMetadataResult {
  1767. 1: list<PaidCallCurrencyExchangeRate> currencyExchangeRates;
  1768. 2: list<string> recommendedCountryCodes;
  1769. 3: list<PaidCallAdCountry> adCountries;
  1770. }
  1771.  
  1772. enum PaidCallProductType {
  1773. COIN = 0,
  1774. CREDIT = 1,
  1775. MONTHLY = 2,
  1776. }
  1777.  
  1778. struct PaidCallRedeemResult {
  1779. 1: string eventName;
  1780. 2: i32 eventAmount;
  1781. }
  1782.  
  1783. struct PaidCallResponse {
  1784. 1: CallHost host;
  1785. 2: PaidCallDialing dialing;
  1786. 3: string token;
  1787. 4: list<SpotItem> spotItems;
  1788. }
  1789.  
  1790. enum PaidCallType {
  1791. OUT = 0,
  1792. IN = 1,
  1793. TOLLFREE = 2,
  1794. RECORD = 3,
  1795. AD = 4,
  1796. CS = 5,
  1797. }
  1798.  
  1799. struct PaidCallUserRate {
  1800. 1: string countryCode;
  1801. 2: i32 rate;
  1802. 3: string rateDivision;
  1803. 4: string rateName;
  1804. }
  1805.  
  1806. enum PayloadType {
  1807. PAYLOAD_BUY = 101,
  1808. PAYLOAD_CS = 111,
  1809. PAYLOAD_BONUS = 121,
  1810. PAYLOAD_EVENT = 131,
  1811. PAYLOAD_POINT_AUTO_EXCHANGED = 141,
  1812. PAYLOAD_POINT_MANUAL_EXCHANGED = 151,
  1813. }
  1814.  
  1815. enum PaymentPgType {
  1816. PAYMENT_PG_NONE = 0,
  1817. PAYMENT_PG_AU = 1,
  1818. PAYMENT_PG_AL = 2,
  1819. }
  1820.  
  1821. struct PaymentReservation {
  1822. 1: string receiverMid;
  1823. 2: string productId;
  1824. 3: string language;
  1825. 4: string location;
  1826. 5: string currency;
  1827. 6: string price;
  1828. 7: PaymentType appStoreCode;
  1829. 8: string messageText;
  1830. 9: i32 messageTemplate;
  1831. 10: i64 packageId;
  1832. }
  1833.  
  1834. struct PaymentReservationResult {
  1835. 1: string orderId;
  1836. 2: string confirmUrl;
  1837. 3: map<string, string> extras;
  1838. }
  1839.  
  1840. enum PaymentType {
  1841. PAYMENT_APPLE = 1,
  1842. PAYMENT_GOOGLE = 2,
  1843. }
  1844.  
  1845. enum PersonalInfo {
  1846. EMAIL = 0,
  1847. PHONE = 1,
  1848. BIRTHDAY = 2,
  1849. RAW_BIRTHDAY = 3,
  1850. }
  1851.  
  1852. struct PhoneInfoForChannel {
  1853. 1: string mid;
  1854. 2: string normalizedPhoneNumber;
  1855. 3: bool allowedToSearchByPhoneNumber;
  1856. 4: bool allowedToReceiveMessageFromNonFriend;
  1857. 5: string region;
  1858. }
  1859.  
  1860. struct PhoneVerificationResult {
  1861. 1: VerificationResult verificationResult;
  1862. 2: AccountMigrationCheckType accountMigrationCheckType;
  1863. 3: bool recommendAddFriends;
  1864. }
  1865.  
  1866. struct PlaceSearchInfo {
  1867. 1: string name;
  1868. 2: string address;
  1869. 3: double latitude;
  1870. 4: double longitude;
  1871. }
  1872.  
  1873. enum PlaceSearchProvider {
  1874. GOOGLE = 0,
  1875. BAIDU = 1,
  1876. }
  1877.  
  1878. enum PointErrorCode {
  1879. REQUEST_DUPLICATION = 3001,
  1880. INVALID_PARAMETER = 3002,
  1881. NOT_ENOUGH_BALANCE = 3003,
  1882. AUTHENTICATION_FAIL = 3004,
  1883. API_ACCESS_FORBIDDEN = 3005,
  1884. MEMBER_ACCOUNT_NOT_FOUND = 3006,
  1885. SERVICE_ACCOUNT_NOT_FOUND = 3007,
  1886. TRANSACTION_NOT_FOUND = 3008,
  1887. ALREADY_REVERSED_TRANSACTION = 3009,
  1888. MESSAGE_NOT_READABLE = 3010,
  1889. HTTP_REQUEST_METHOD_NOT_SUPPORTED = 3011,
  1890. HTTP_MEDIA_TYPE_NOT_SUPPORTED = 3012,
  1891. NOT_ALLOWED_TO_DEPOSIT = 3013,
  1892. NOT_ALLOWED_TO_PAY = 3014,
  1893. TRANSACTION_ACCESS_FORBIDDEN = 3015,
  1894. INVALID_SERVICE_CONFIGURATION = 4001,
  1895. DCS_COMMUNICATION_FAIL = 5004,
  1896. UPDATE_BALANCE_FAIL = 5007,
  1897. SYSTEM_ERROR = 5999,
  1898. SYSTEM_MAINTENANCE = 5888,
  1899. }
  1900.  
  1901. exception PointException {
  1902. 1: PointErrorCode code;
  1903. 2: string reason;
  1904. 3: map<string, string> extra;
  1905. }
  1906.  
  1907. enum PrivacyLevelType {
  1908. PUBLIC = 0,
  1909. PRIVATE = 1,
  1910. }
  1911.  
  1912. struct PrivateBotMessage {
  1913. 1: Message message;
  1914. 2: string linkFrom;
  1915. }
  1916.  
  1917. struct Product {
  1918. 1: string productId;
  1919. 2: i64 packageId;
  1920. 3: i32 version;
  1921. 4: string authorName;
  1922. 5: bool onSale;
  1923. 6: i32 validDays;
  1924. 7: i32 saleType;
  1925. 8: string copyright;
  1926. 9: string title;
  1927. 10: string descriptionText;
  1928. 11: i64 shopOrderId;
  1929. 12: string fromMid;
  1930. 13: string toMid;
  1931. 14: i64 validUntil;
  1932. 15: i32 priceTier;
  1933. 16: string price;
  1934. 17: string currency;
  1935. 18: string currencySymbol;
  1936. 19: PaymentType paymentType;
  1937. 20: i64 createDate;
  1938. 21: bool ownFlag;
  1939. 22: ProductEventType eventType;
  1940. 23: string urlSchema;
  1941. 24: string downloadUrl;
  1942. 25: string buddyMid;
  1943. 26: i64 publishSince;
  1944. 27: bool newFlag;
  1945. 28: bool missionFlag;
  1946. 29: list<ProductCategory> categories;
  1947. 30: string missionButtonText;
  1948. 31: string missionShortDescription;
  1949. 32: string authorId;
  1950. 41: bool grantedByDefault;
  1951. 42: i32 displayOrder;
  1952. 43: bool availableForPresent;
  1953. 44: bool availableForMyself;
  1954. 51: bool hasAnimation;
  1955. 52: bool hasSound;
  1956. 53: bool recommendationsEnabled;
  1957. 54: StickerResourceType stickerResourceType;
  1958. }
  1959.  
  1960. enum ProductBannerLinkType {
  1961. BANNER_LINK_NONE = 0,
  1962. BANNER_LINK_ITEM = 1,
  1963. BANNER_LINK_URL = 2,
  1964. BANNER_LINK_CATEGORY = 3,
  1965. }
  1966.  
  1967. struct ProductCategory {
  1968. 1: i64 productCategoryId;
  1969. 2: string title;
  1970. 3: i32 productCount;
  1971. 4: bool newFlag;
  1972. }
  1973.  
  1974. enum ProductEventType {
  1975. NO_EVENT = 0,
  1976. CARRIER_ANY = 65537,
  1977. BUDDY_ANY = 131073,
  1978. INSTALL_IOS = 196609,
  1979. INSTALL_ANDROID = 196610,
  1980. MISSION_ANY = 262145,
  1981. MUSTBUY_ANY = 327681,
  1982. }
  1983.  
  1984. struct ProductList {
  1985. 1: bool hasNext;
  1986. 4: i64 bannerSequence;
  1987. 5: ProductBannerLinkType bannerTargetType;
  1988. 6: string bannerTargetPath;
  1989. 7: list<Product> productList;
  1990. 8: string bannerLang;
  1991. }
  1992.  
  1993. struct ProductSimple {
  1994. 1: string productId;
  1995. 2: i64 packageId;
  1996. 3: i32 version;
  1997. 4: bool onSale;
  1998. 5: i64 validUntil;
  1999. 10: list<StickerIdRange> stickerIdRanges;
  2000. 41: bool grantedByDefault;
  2001. 42: i32 displayOrder;
  2002. }
  2003.  
  2004. struct ProductSimpleList {
  2005. 1: bool hasNext;
  2006. 2: i32 reinvokeHour;
  2007. 3: i64 lastVersionSeq;
  2008. 4: list<ProductSimple> productList;
  2009. 5: i64 recentNewReleaseDate;
  2010. 6: i64 recentEventReleaseDate;
  2011. }
  2012.  
  2013. struct Profile {
  2014. 1: string mid;
  2015. 3: string userid;
  2016. 10: string phone;
  2017. 11: string email;
  2018. 12: string regionCode;
  2019. 20: string displayName;
  2020. 21: string phoneticName;
  2021. 22: string pictureStatus;
  2022. 23: string thumbnailUrl;
  2023. 24: string statusMessage;
  2024. 31: bool allowSearchByUserid;
  2025. 32: bool allowSearchByEmail;
  2026. 33: string picturePath;
  2027. 34: string musicProfile;
  2028. 35: string videoProfile;
  2029. }
  2030.  
  2031. enum ProfileAttribute {
  2032. ALL = 511,
  2033. EMAIL = 1,
  2034. DISPLAY_NAME = 2,
  2035. PHONETIC_NAME = 4,
  2036. PICTURE = 8,
  2037. STATUS_MESSAGE = 16,
  2038. ALLOW_SEARCH_BY_USERID = 32,
  2039. ALLOW_SEARCH_BY_EMAIL = 64,
  2040. BUDDY_STATUS = 128,
  2041. MUSIC_PROFILE = 256,
  2042. }
  2043.  
  2044. struct ProximityMatchCandidateEntry {
  2045. 1: Contact contact;
  2046. 11: BuddyDetail buddyDetail;
  2047. }
  2048.  
  2049. struct ProximityMatchCandidateResult {
  2050. 1: list<ProximityMatchCandidateEntry> users;
  2051. 2: list<ProximityMatchCandidateEntry> buddies;
  2052. 91: bool endOfResult;
  2053. }
  2054.  
  2055. struct PublicKey {
  2056. 1: AsymmetricKeyAlgorithm keyAlgorithm;
  2057. 2: i32 keySize;
  2058. 3: binary keyData;
  2059. 4: i64 createdTime;
  2060. }
  2061.  
  2062. struct PublicKeychain {
  2063. 1: set<PublicKey> publicKeys;
  2064. }
  2065.  
  2066. enum PublicKeychainStatus {
  2067. UPDATED = 0,
  2068. DELETED = 1,
  2069. RESTRICTED = 2,
  2070. }
  2071.  
  2072. enum PublicType {
  2073. HIDDEN = 0,
  2074. PUBLIC = 1000,
  2075. }
  2076.  
  2077. struct QueueingPolicy {
  2078. 1: i32 priority;
  2079. 2: string policy;
  2080. }
  2081.  
  2082. enum RedirectType {
  2083. NONE = 0,
  2084. EXPIRE_SECOND = 1,
  2085. }
  2086.  
  2087. struct RegisterWithPhoneNumberResult {
  2088. 1: string authToken;
  2089. 2: bool recommendEmailRegistration;
  2090. 3: string certificate;
  2091. }
  2092.  
  2093. struct RegisterWithSnsIdResult {
  2094. 1: string authToken;
  2095. 2: bool userCreated;
  2096. 3: bool recommendEmailRegistration;
  2097. }
  2098.  
  2099. enum RegistrationType {
  2100. PHONE = 0,
  2101. EMAIL_WAP = 1,
  2102. FACEBOOK = 2305,
  2103. SINA = 2306,
  2104. RENREN = 2307,
  2105. FEIXIN = 2308,
  2106. }
  2107.  
  2108. enum ReportCategory {
  2109. PUSH_NORMAL_PLAIN = 0,
  2110. PUSH_NORMAL_E2EE = 1,
  2111. PUSH_VOIP_PLAIN = 2,
  2112. PUSH_VOIP_E2EE = 3,
  2113. }
  2114.  
  2115. struct RequestTokenResponse {
  2116. 1: string requestToken;
  2117. 2: string returnUrl;
  2118. }
  2119.  
  2120. enum ReservedMessageSessionId {
  2121. DEFAULT = 0,
  2122. HIDDEN_CHAT = 1,
  2123. }
  2124.  
  2125. struct RingbackTone {
  2126. 1: string uuid;
  2127. 2: string trackId;
  2128. 3: string title;
  2129. 4: string oid;
  2130. 5: map<string, string> tids;
  2131. }
  2132.  
  2133. struct Room {
  2134. 1: string mid;
  2135. 2: i64 createdTime;
  2136. 10: list<Contact> contacts;
  2137. 31: bool notificationDisabled;
  2138. 40: list<string> memberMids;
  2139. }
  2140.  
  2141. enum RoomAttribute {
  2142. ALL = 255,
  2143. NOTIFICATION_SETTING = 1,
  2144. }
  2145.  
  2146. struct RSAKey {
  2147. 1: string keynm;
  2148. 2: string nvalue;
  2149. 3: string evalue;
  2150. 4: string sessionKey;
  2151. }
  2152.  
  2153. struct SecurityCenterResult {
  2154. 1: string uri;
  2155. 2: string token;
  2156. 3: string cookiePath;
  2157. 4: bool skip;
  2158. }
  2159.  
  2160. enum SecurityCenterSettingsType {
  2161. NOT_APPLICABLE = 0,
  2162. NOT_SET = 1,
  2163. SET = 2,
  2164. NEED_ENFORCED_INPUT = 3,
  2165. }
  2166.  
  2167. struct SendBuddyMessageResult {
  2168. 1: string requestId;
  2169. 2: BuddyResultState state;
  2170. 3: string messageId;
  2171. 4: i32 eventNo;
  2172. 11: i64 receiverCount;
  2173. 12: i64 successCount;
  2174. 13: i64 failCount;
  2175. 14: i64 cancelCount;
  2176. 15: i64 blockCount;
  2177. 16: i64 unregisterCount;
  2178. 17: i64 unrelatedCount;
  2179. 21: i64 timestamp;
  2180. 22: string message;
  2181. }
  2182.  
  2183. struct SendPostbackRequest {
  2184. 1: string messageId;
  2185. 2: string url;
  2186. 3: string chatMID;
  2187. 4: string originMID;
  2188. }
  2189.  
  2190. enum ServiceCode {
  2191. UNKNOWN = 0,
  2192. TALK = 1,
  2193. SQUARE = 2,
  2194. }
  2195.  
  2196. struct SetBuddyOnAirResult {
  2197. 1: string requestId;
  2198. 2: BuddyResultState state;
  2199. 3: i32 eventNo;
  2200. 11: i64 receiverCount;
  2201. 12: i64 successCount;
  2202. 13: i64 failCount;
  2203. 14: i64 cancelCount;
  2204. 15: i64 unregisterCount;
  2205. 21: i64 timestamp;
  2206. 22: string message;
  2207. }
  2208.  
  2209. struct Settings {
  2210. 10: bool notificationEnable;
  2211. 11: i64 notificationMuteExpiration;
  2212. 12: bool notificationNewMessage;
  2213. 13: bool notificationGroupInvitation;
  2214. 14: bool notificationShowMessage;
  2215. 15: bool notificationIncomingCall;
  2216. 16: string notificationSoundMessage;
  2217. 17: string notificationSoundGroup;
  2218. 18: bool notificationDisabledWithSub;
  2219. 19: bool notificationPayment;
  2220. 20: bool privacySyncContacts;
  2221. 21: bool privacySearchByPhoneNumber;
  2222. 22: bool privacySearchByUserid;
  2223. 23: bool privacySearchByEmail;
  2224. 24: bool privacyAllowSecondaryDeviceLogin;
  2225. 25: bool privacyProfileImagePostToMyhome;
  2226. 26: bool privacyReceiveMessagesFromNotFriend;
  2227. 27: bool privacyAgreeUseLineCoinToPaidCall;
  2228. 28: bool privacyAgreeUsePaidCall;
  2229. 29: bool privacyAllowFriendRequest;
  2230. 30: string contactMyTicket;
  2231. 40: IdentityProvider identityProvider;
  2232. 41: string identityIdentifier;
  2233. 42: map<SnsIdType, string> snsAccounts;
  2234. 43: bool phoneRegistration;
  2235. 44: EmailConfirmationStatus emailConfirmationStatus;
  2236. 45: AccountMigrationPincodeType accountMigrationPincodeType;
  2237. 46: bool enforcedInputAccountMigrationPincode;
  2238. 47: SecurityCenterSettingsType securityCenterSettingsType;
  2239. 48: bool allowUnregistrationSecondaryDevice;
  2240. 50: string preferenceLocale;
  2241. 60: map<CustomMode, string> customModes;
  2242. 61: bool e2eeEnable;
  2243. 62: bool hitokotoBackupRequested;
  2244. 63: bool privacyProfileMusicPostToMyhome;
  2245. 65: bool privacyAllowNearby;
  2246. 66: i64 agreementNearbyTime;
  2247. 67: i64 agreementSquareTime;
  2248. 68: bool notificationMention;
  2249. 69: i64 botUseAgreementAcceptedAt;
  2250. }
  2251.  
  2252. enum SettingsAttribute {
  2253. NOTIFICATION_ENABLE = 1,
  2254. NOTIFICATION_MUTE_EXPIRATION = 2,
  2255. NOTIFICATION_NEW_MESSAGE = 4,
  2256. NOTIFICATION_GROUP_INVITATION = 8,
  2257. NOTIFICATION_SHOW_MESSAGE = 16,
  2258. NOTIFICATION_INCOMING_CALL = 32,
  2259. NOTIFICATION_SOUND_MESSAGE = 256,
  2260. NOTIFICATION_SOUND_GROUP = 512,
  2261. NOTIFICATION_DISABLED_WITH_SUB = 65536,
  2262. NOTIFICATION_PAYMENT = 131072,
  2263. PRIVACY_SYNC_CONTACTS = 64,
  2264. PRIVACY_SEARCH_BY_PHONE_NUMBER = 128,
  2265. PRIVACY_SEARCH_BY_USERID = 8192,
  2266. PRIVACY_SEARCH_BY_EMAIL = 16384,
  2267. PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 2097152,
  2268. PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 8388608,
  2269. PRIVACY_ALLOW_FRIEND_REQUEST = 1073741824,
  2270. PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 33554432,
  2271. PRIVACY_AGREE_USE_LINECOIN_TO_PAIDCALL = 67108864,
  2272. PRIVACY_AGREE_USE_PAIDCALL = 134217728,
  2273. CONTACT_MY_TICKET = 1024,
  2274. IDENTITY_PROVIDER = 2048,
  2275. IDENTITY_IDENTIFIER = 4096,
  2276. SNS_ACCOUNT = 524288,
  2277. PHONE_REGISTRATION = 1048576,
  2278. PREFERENCE_LOCALE = 32768,
  2279. CUSTOM_MODE = 4194304,
  2280. EMAIL_CONFIRMATION_STATUS = 16777216,
  2281. ACCOUNT_MIGRATION_PINCODE = 268435456,
  2282. ENFORCED_INPUT_ACCOUNT_MIGRATION_PINCODE = 536870912,
  2283. SECURITY_CENTER_SETTINGS = 262144,
  2284. }
  2285.  
  2286. enum SettingsAttributeEx {
  2287. NOTIFICATION_ENABLE = 0,
  2288. NOTIFICATION_MUTE_EXPIRATION = 1,
  2289. NOTIFICATION_NEW_MESSAGE = 2,
  2290. NOTIFICATION_GROUP_INVITATION = 3,
  2291. NOTIFICATION_SHOW_MESSAGE = 4,
  2292. NOTIFICATION_INCOMING_CALL = 5,
  2293. NOTIFICATION_SOUND_MESSAGE = 8,
  2294. NOTIFICATION_SOUND_GROUP = 9,
  2295. NOTIFICATION_DISABLED_WITH_SUB = 16,
  2296. NOTIFICATION_PAYMENT = 17,
  2297. NOTIFICATION_MENTION = 40,
  2298. PRIVACY_SYNC_CONTACTS = 6,
  2299. PRIVACY_SEARCH_BY_PHONE_NUMBER = 7,
  2300. PRIVACY_SEARCH_BY_USERID = 13,
  2301. PRIVACY_SEARCH_BY_EMAIL = 14,
  2302. PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 21,
  2303. PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 23,
  2304. PRIVACY_PROFILE_MUSIC_POST_TO_MYHOME = 35,
  2305. PRIVACY_ALLOW_FRIEND_REQUEST = 30,
  2306. PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 25,
  2307. PRIVACY_AGREE_USE_LINECOIN_TO_PAIDCALL = 26,
  2308. PRIVACY_AGREE_USE_PAIDCALL = 27,
  2309. CONTACT_MY_TICKET = 10,
  2310. IDENTITY_PROVIDER = 11,
  2311. IDENTITY_IDENTIFIER = 12,
  2312. SNS_ACCOUNT = 19,
  2313. PHONE_REGISTRATION = 20,
  2314. PREFERENCE_LOCALE = 15,
  2315. CUSTOM_MODE = 22,
  2316. EMAIL_CONFIRMATION_STATUS = 24,
  2317. ACCOUNT_MIGRATION_PINCODE = 28,
  2318. ENFORCED_INPUT_ACCOUNT_MIGRATION_PINCODE = 29,
  2319. SECURITY_CENTER_SETTINGS = 18,
  2320. E2EE_ENABLE = 33,
  2321. HITOKOTO_BACKUP_REQUESTED = 34,
  2322. CONTACT_ALLOW_FOLLOWING = 36,
  2323. PRIVACY_ALLOW_NEARBY = 37,
  2324. AGREEMENT_NEARBY = 38,
  2325. AGREEMENT_SQUARE = 39,
  2326. ALLOW_UNREGISTRATION_SECONDARY_DEVICE = 41,
  2327. AGREEMENT_BOT_USE = 42,
  2328. }
  2329.  
  2330. struct ShopUpdates {
  2331. 1: i64 latestNewReleaseTime;
  2332. 2: i64 latestEventReleaseTime;
  2333. 3: i64 latestCategoryUpdateTime;
  2334. 11: i64 lastVersion;
  2335. 21: list<ProductSimple> updatedProductList;
  2336. }
  2337.  
  2338. exception ShouldSyncException {
  2339. 1: i64 syncOpRevision;
  2340. 2: SyncScope syncScope;
  2341. 3: SyncTriggerReason syncReason;
  2342. 4: string message;
  2343. }
  2344.  
  2345. struct SIMInfo {
  2346. 1: string phoneNumber;
  2347. 2: string countryCode;
  2348. }
  2349.  
  2350. struct SimpleChannelClient {
  2351. 1: string applicationType;
  2352. 2: string applicationVersion;
  2353. 3: string locale;
  2354. 4: string mid;
  2355. }
  2356.  
  2357. struct SimpleChannelContact {
  2358. 1: string mid;
  2359. 2: string displayName;
  2360. 3: string pictureStatus;
  2361. 4: string picturePath;
  2362. 5: string statusMessage;
  2363. 6: string userid;
  2364. 7: string regionCode;
  2365. }
  2366.  
  2367. struct SnsFriend {
  2368. 1: string snsUserId;
  2369. 2: string snsUserName;
  2370. 3: SnsIdType snsIdType;
  2371. }
  2372.  
  2373. struct SnsFriendContactRegistration {
  2374. 1: Contact contact;
  2375. 2: SnsIdType snsIdType;
  2376. 3: string snsUserId;
  2377. }
  2378.  
  2379. struct SnsFriendModification {
  2380. 1: ModificationType type;
  2381. 2: SnsFriend snsFriend;
  2382. }
  2383.  
  2384. struct SnsFriends {
  2385. 1: list<SnsFriend> snsFriends;
  2386. 2: bool hasMore;
  2387. }
  2388.  
  2389. enum SnsIdType {
  2390. FACEBOOK = 1,
  2391. SINA = 2,
  2392. RENREN = 3,
  2393. FEIXIN = 4,
  2394. BBM = 5,
  2395. }
  2396.  
  2397. struct SnsIdUserStatus {
  2398. 1: bool userExisting;
  2399. 2: bool phoneNumberRegistered;
  2400. 3: bool sameDevice;
  2401. 4: AccountMigrationCheckType accountMigrationCheckType;
  2402. }
  2403.  
  2404. struct SnsProfile {
  2405. 1: string snsUserId;
  2406. 2: string snsUserName;
  2407. 3: string email;
  2408. 4: string thumbnailUrl;
  2409. }
  2410.  
  2411. enum SpammerReason {
  2412. OTHER = 0,
  2413. ADVERTISING = 1,
  2414. GENDER_HARASSMENT = 2,
  2415. HARASSMENT = 3,
  2416. }
  2417.  
  2418. enum SpotCategory {
  2419. UNKNOWN = 0,
  2420. GOURMET = 1,
  2421. BEAUTY = 2,
  2422. TRAVEL = 3,
  2423. SHOPPING = 4,
  2424. ENTERTAINMENT = 5,
  2425. SPORTS = 6,
  2426. TRANSPORT = 7,
  2427. LIFE = 8,
  2428. HOSPITAL = 9,
  2429. FINANCE = 10,
  2430. EDUCATION = 11,
  2431. OTHER = 12,
  2432. ALL = 10000,
  2433. }
  2434.  
  2435. struct SpotItem {
  2436. 2: string name;
  2437. 3: string phone;
  2438. 4: SpotCategory category;
  2439. 5: string mid;
  2440. 6: string countryAreaCode;
  2441. 10: bool freePhoneCallable;
  2442. }
  2443.  
  2444. struct SpotNearbyItem {
  2445. 2: SpotItem spotItem;
  2446. 11: Location location;
  2447. }
  2448.  
  2449. struct SpotNearbyResponse {
  2450. 1: list<SpotNearbyItem> spotNearbyItems;
  2451. }
  2452.  
  2453. struct SpotPhoneNumberResponse {
  2454. 1: list<SpotItem> spotItems;
  2455. }
  2456.  
  2457. struct StickerIdRange {
  2458. 1: i64 start;
  2459. 2: i32 size;
  2460. }
  2461.  
  2462. enum StickerResourceType {
  2463. STATIC = 1,
  2464. ANIMATION = 2,
  2465. SOUND = 3,
  2466. ANIMATION_SOUND = 4,
  2467. POPUP = 5,
  2468. POPUP_SOUND = 6,
  2469. }
  2470.  
  2471. struct SuggestDictionary {
  2472. 1: string language;
  2473. 2: string name;
  2474. }
  2475.  
  2476. struct SuggestDictionaryIncrements {
  2477. 1: SuggestItemDictionaryIncrement itemIncrement;
  2478. 2: list<SuggestTagDictionaryIncrement> tagIncrements;
  2479. }
  2480.  
  2481. enum SuggestDictionaryIncrementStatus {
  2482. SUCCESS = 0,
  2483. INVALID_REVISION = 1,
  2484. TOO_LARGE_DATA = 2,
  2485. SCHEME_CHANGED = 3,
  2486. RETRY = 4,
  2487. FAIL = 5,
  2488. TOO_OLD_DATA = 6,
  2489. }
  2490.  
  2491. struct SuggestDictionaryRevisions {
  2492. 1: SuggestItemDictionaryRevision itemRevision;
  2493. 2: list<SuggestTagDictionaryRevision> tagRevisions;
  2494. }
  2495.  
  2496. struct SuggestDictionarySettings {
  2497. 1: i64 revision;
  2498. 2: i64 newRevision;
  2499. 3: list<SuggestDictionary> dictionaries;
  2500. 4: list<string> preloadedDictionaries;
  2501. }
  2502.  
  2503. struct SuggestItemDictionaryIncrement {
  2504. 1: SuggestDictionaryIncrementStatus status;
  2505. 2: i64 revision;
  2506. 3: string scheme;
  2507. 4: binary data;
  2508. }
  2509.  
  2510. struct SuggestItemDictionaryRevision {
  2511. 1: i64 revision;
  2512. 2: string scheme;
  2513. }
  2514.  
  2515. struct SuggestTagDictionaryIncrement {
  2516. 1: SuggestDictionaryIncrementStatus status;
  2517. 2: string language;
  2518. 3: i64 revision;
  2519. 4: string scheme;
  2520. 5: binary data;
  2521. }
  2522.  
  2523. struct SuggestTagDictionaryRevision {
  2524. 1: string language;
  2525. 2: i64 revision;
  2526. 3: string scheme;
  2527. }
  2528.  
  2529. enum SyncActionType {
  2530. SYNC = 0,
  2531. REPORT = 1,
  2532. }
  2533.  
  2534. enum SyncCategory {
  2535. PROFILE = 0,
  2536. SETTINGS = 1,
  2537. OPS = 2,
  2538. CONTACT = 3,
  2539. RECOMMEND = 4,
  2540. BLOCK = 5,
  2541. GROUP = 6,
  2542. ROOM = 7,
  2543. NOTIFICATION = 8,
  2544. ADDRESS_BOOK = 9,
  2545. }
  2546.  
  2547. struct SyncParamContact {
  2548. 1: SyncParamMid syncParamMid;
  2549. 2: ContactStatus contactStatus;
  2550. }
  2551.  
  2552. struct SyncParamMid {
  2553. 1: string mid;
  2554. 2: Diff diff;
  2555. 3: i64 revision;
  2556. }
  2557.  
  2558. struct SyncRelations {
  2559. 1: bool syncAll;
  2560. 2: list<SyncParamContact> syncParamContact;
  2561. 3: list<SyncParamMid> syncParamMid;
  2562. }
  2563.  
  2564. struct SyncScope {
  2565. 1: bool syncProfile;
  2566. 2: bool syncSettings;
  2567. 3: bool syncSticker;
  2568. 4: bool syncThemeShop;
  2569. 10: SyncRelations contact;
  2570. 11: SyncRelations group;
  2571. 12: SyncRelations room;
  2572. 13: SyncRelations chat;
  2573. }
  2574.  
  2575. enum SyncTriggerReason {
  2576. OTHER = 0,
  2577. REVISION_GAP_TOO_LARGE = 1,
  2578. OPERATION_EXPIRED = 2,
  2579. }
  2580.  
  2581. struct SystemConfiguration {
  2582. 1: string endpoint;
  2583. 2: string endpointSsl;
  2584. 3: string updateUrl;
  2585. 11: string c2dmAccount;
  2586. 12: string nniServer;
  2587. }
  2588.  
  2589. exception TalkException {
  2590. 1: ErrorCode code;
  2591. 2: string reason;
  2592. 3: map<string, string> parameterMap;
  2593. }
  2594.  
  2595. # Error? TalkServiceClientFactory.java
  2596. # Error? TalkServiceClientUtil.java
  2597. # Error? TBinaryTalkProtocol.java
  2598. # Error? TCompactTalkProtocol.java
  2599.  
  2600. struct Ticket {
  2601. 1: string id;
  2602. 10: i64 expirationTime;
  2603. 21: i32 maxUseCount;
  2604. }
  2605. # Error? TJSONTalkProtocol.java
  2606.  
  2607. struct TMessageBox {
  2608. 1: string id;
  2609. 2: string channelId;
  2610. 5: i64 lastSeq;
  2611. 6: i64 unreadCount;
  2612. 7: i64 lastModifiedTime;
  2613. 8: i32 status;
  2614. 9: MIDType midType;
  2615. 10: list<Message> lastMessages;
  2616. }
  2617.  
  2618. enum TMessageBoxStatus {
  2619. ACTIVATED = 1,
  2620. UNREAD = 2,
  2621. }
  2622.  
  2623. struct TMessageBoxWrapUp {
  2624. 1: TMessageBox messageBox;
  2625. 2: string name;
  2626. 3: list<Contact> contacts;
  2627. 4: string pictureRevision;
  2628. }
  2629.  
  2630. struct TMessageBoxWrapUpResponse {
  2631. 1: list<TMessageBoxWrapUp> messageBoxWrapUpList;
  2632. 2: i32 totalSize;
  2633. }
  2634.  
  2635. struct TMessageReadRange {
  2636. 1: string chatId;
  2637. 2: map<string, list<TMessageReadRangeEntry>> ranges;
  2638. }
  2639.  
  2640. struct TMessageReadRangeEntry {
  2641. 1: i64 startMessageId;
  2642. 2: i64 endMessageId;
  2643. 3: i64 startTime;
  2644. 4: i64 endTime;
  2645. }
  2646.  
  2647. enum TrackingType {
  2648. # Error? TrackingType.java
  2649. }
  2650.  
  2651. struct UnregisterBuddyResult {
  2652. 1: string requestId;
  2653. 2: BuddyResultState state;
  2654. 3: i32 eventNo;
  2655. 4: string message;
  2656. 5: i64 timestamp;
  2657. 6: i64 subscriberCountToRemove;
  2658. 7: i64 subscriberCountRemoved;
  2659. }
  2660.  
  2661. enum UnregistrationReason {
  2662. UNREGISTRATION_REASON_UNREGISTER_USER = 1,
  2663. UNREGISTRATION_REASON_UNBIND_DEVICE = 2,
  2664. }
  2665.  
  2666. struct UpdateBuddyProfileResult {
  2667. 1: string requestId;
  2668. 2: BuddyResultState state;
  2669. 3: i32 eventNo;
  2670. 11: i64 receiverCount;
  2671. 12: i64 successCount;
  2672. 13: i64 failCount;
  2673. 14: i64 cancelCount;
  2674. 15: i64 unregisterCount;
  2675. 21: i64 timestamp;
  2676. 22: string message;
  2677. 23: string urlhash;
  2678. }
  2679.  
  2680. enum UserAgeType {
  2681. OVER = 1,
  2682. UNDER = 2,
  2683. UNDEFINED = 3,
  2684. }
  2685.  
  2686. struct UserAuthStatus {
  2687. 1: bool phoneNumberRegistered;
  2688. 2: list<SnsIdType> registeredSnsIdTypes;
  2689. 3: AccountMigrationCheckType accountMigrationCheckType;
  2690. }
  2691.  
  2692. enum UserStatus {
  2693. NORMAL = 0,
  2694. UNBOUND = 1,
  2695. UNREGISTERED = 2,
  2696. }
  2697.  
  2698. struct UserTicketResponse {
  2699. 1: string mid;
  2700. 2: string userTicket;
  2701. }
  2702.  
  2703. struct ValidateContactsResult {
  2704. 11: i64 receiverCount;
  2705. 12: i64 successCount;
  2706. 13: i64 blockCount;
  2707. 14: i64 unregisterCount;
  2708. 15: i64 unrelatedCount;
  2709. 16: i64 failCount;
  2710. }
  2711.  
  2712. enum VerificationMethod {
  2713. NO_AVAILABLE = 0,
  2714. PIN_VIA_SMS = 1,
  2715. CALLERID_INDIGO = 2,
  2716. PIN_VIA_TTS = 4,
  2717. SKIP = 10,
  2718. }
  2719.  
  2720. enum VerificationResult {
  2721. FAILED = 0,
  2722. OK_NOT_REGISTERED_YET = 1,
  2723. OK_REGISTERED_WITH_SAME_DEVICE = 2,
  2724. OK_REGISTERED_WITH_ANOTHER_DEVICE = 3,
  2725. }
  2726.  
  2727. struct VerificationSessionData {
  2728. 1: string sessionId;
  2729. 2: VerificationMethod method;
  2730. 3: string callback;
  2731. 4: string normalizedPhone;
  2732. 5: string countryCode;
  2733. 6: string nationalSignificantNumber;
  2734. 7: list<VerificationMethod> availableVerificationMethods;
  2735. 8: string callerIdMask;
  2736. }
  2737.  
  2738. struct WapInvitation {
  2739. 1: WapInvitationType type;
  2740. 10: string inviteeEmail;
  2741. 11: string inviterMid;
  2742. 12: string roomMid;
  2743. }
  2744.  
  2745. enum WapInvitationType {
  2746. REGISTRATION = 1,
  2747. CHAT = 2,
  2748. }
  2749. service PersonaService {
  2750. MoretabRecommend getMoretabRecommend() throws (1: TalkException e),
  2751. }
  2752. service CoinService {
  2753. GetCoinHistoryResponse getCoinUseAndRefundHistory(
  2754. 1: GetCoinHistoryRequest request,
  2755. ) throws (1: TalkException e),
  2756. GetTotalCoinBalanceResponse getTotalCoinBalance(
  2757. 1: GetTotalCoinBalanceRequest request,
  2758. ) throws (1: TalkException e),
  2759. GetCoinProductsResponse getCoinProducts(
  2760. 1: GetCoinProductsRequest request,
  2761. ) throws (1: TalkException e),
  2762. GetCoinHistoryResponse getCoinPurchaseHistory(
  2763. 1: GetCoinHistoryRequest request,
  2764. ) throws (1: TalkException e),
  2765. PaymentReservationResult reserveCoinPurchase(
  2766. 1: CoinPurchaseReservation request,
  2767. ) throws (1: TalkException e),
  2768. }
  2769. service PointService {
  2770. GetBalanceResponse getBalance(
  2771. 1: GetBalanceRequest request,
  2772. ) throws (1: PointException e),
  2773. }
  2774. service BanService {
  2775. BanPage requestBanPageForUser() throws (1: TalkException e),
  2776. BanPage requestBanPage() throws (1: TalkException e),
  2777. }
  2778. service ShopService {
  2779. PaymentReservationResult reserveCoinPurchase(
  2780. 2: CoinPurchaseReservation request,
  2781. ) throws (1: TalkException e),
  2782. list<ProductCategory> getProductCategories(
  2783. 2: string language,
  2784. 3: string country,
  2785. ) throws (1: TalkException e),
  2786. ProductList getProductList(
  2787. 2: list<string> productIdList,
  2788. 3: string language,
  2789. 4: string country,
  2790. ) throws (1: TalkException e),
  2791. CoinHistoryResult getCoinPurchaseHistory(
  2792. 2: CoinHistoryCondition request,
  2793. ) throws (1: TalkException e),
  2794. void buyFreeProduct(
  2795. 2: string receiverMid,
  2796. 3: string productId,
  2797. 4: i32 messageTemplate,
  2798. 5: string language,
  2799. 6: string country,
  2800. 7: i64 packageId,
  2801. ) throws (1: TalkException e),
  2802. ProductList getProductListWithCarrier(
  2803. 2: list<string> productIdList,
  2804. 3: string language,
  2805. 4: string country,
  2806. 5: string carrierCode,
  2807. ) throws (1: TalkException e),
  2808. ProductList getDefaultProducts(
  2809. 4: string language,
  2810. 5: string country,
  2811. 6: string carrierCode,
  2812. ) throws (1: TalkException e),
  2813. ProductList getProductsForCategory(
  2814. 2: i64 start,
  2815. 3: i32 size,
  2816. 4: string language,
  2817. 5: string country,
  2818. 6: i64 category,
  2819. ) throws (1: TalkException e),
  2820. i64 notifyDownloaded(
  2821. 2: i64 packageId,
  2822. 3: string language,
  2823. ) throws (1: TalkException e),
  2824. ProductList getFreePackagesWithoutEvent(
  2825. 2: i64 start,
  2826. 3: i32 size,
  2827. 4: string language,
  2828. 5: string country,
  2829. ) throws (1: TalkException e),
  2830. Product getProduct(
  2831. 2: i64 packageID,
  2832. 3: string language,
  2833. 4: string country,
  2834. ) throws (1: TalkException e),
  2835. ProductList getEventPackages(
  2836. 2: i64 start,
  2837. 3: i32 size,
  2838. 4: string language,
  2839. 5: string country,
  2840. ) throws (1: TalkException e),
  2841. ProductSimpleList getActivePurchaseVersions(
  2842. 2: i64 start,
  2843. 3: i32 size,
  2844. 4: string language,
  2845. 5: string country,
  2846. ) throws (1: TalkException e),
  2847. list<CoinProductItem> getCoinProductsByPgCode(
  2848. 2: PaymentType appStoreCode,
  2849. 3: PaymentPgType pgCode,
  2850. 4: string country,
  2851. 5: string language,
  2852. ) throws (1: TalkException e),
  2853. ProductList getNewlyReleasedPackages(
  2854. 2: i64 start,
  2855. 3: i32 size,
  2856. 4: string language,
  2857. 5: string country,
  2858. ) throws (1: TalkException e),
  2859. ProductList getDownloads(
  2860. 2: i64 start,
  2861. 3: i32 size,
  2862. 4: string language,
  2863. 5: string country,
  2864. ) throws (1: TalkException e),
  2865. list<CoinProductItem> getCoinProducts(
  2866. 2: PaymentType appStoreCode,
  2867. 3: string country,
  2868. 4: string language,
  2869. ) throws (1: TalkException e),
  2870. ProductList searchProducts(
  2871. 2: i64 start,
  2872. 3: i32 size,
  2873. 4: string language,
  2874. 5: string country,
  2875. 6: string query,
  2876. ) throws (1: TalkException e),
  2877. void buyMustbuyProduct(
  2878. 2: string receiverMid,
  2879. 3: string productId,
  2880. 4: i32 messageTemplate,
  2881. 5: string language,
  2882. 6: string country,
  2883. 7: i64 packageId,
  2884. 8: string serialNumber,
  2885. ) throws (1: TalkException e),
  2886. ProductList getRecommendationsForProduct(
  2887. 2: i64 packageID,
  2888. 3: i32 offset,
  2889. 4: i32 limit,
  2890. 5: string language,
  2891. 6: string country,
  2892. ) throws (1: TalkException e),
  2893. ShopUpdates getUpdates(
  2894. 2: string language,
  2895. 3: string country,
  2896. 4: i64 localVersion,
  2897. ) throws (1: TalkException e),
  2898. ProductList getActivePurchases(
  2899. 2: i64 start,
  2900. 3: i32 size,
  2901. 4: string language,
  2902. 5: string country,
  2903. ) throws (1: TalkException e),
  2904. Product getProductWithCarrier(
  2905. 2: i64 packageID,
  2906. 3: string language,
  2907. 4: string country,
  2908. 5: string carrierCode,
  2909. ) throws (1: TalkException e),
  2910. void buyCoinProduct(
  2911. 2: PaymentReservation paymentReservation,
  2912. ) throws (1: TalkException e),
  2913. ProductList getPopularPackages(
  2914. 2: i64 start,
  2915. 3: i32 size,
  2916. 4: string language,
  2917. 5: string country,
  2918. ) throws (1: TalkException e),
  2919. PaymentReservationResult reservePayment(
  2920. 2: PaymentReservation paymentReservation,
  2921. ) throws (1: TalkException e),
  2922. ProductList getPresentsSent(
  2923. 2: i64 start,
  2924. 3: i32 size,
  2925. 4: string language,
  2926. 5: string country,
  2927. ) throws (1: TalkException e),
  2928. void checkCanReceivePresent(
  2929. 2: string recipientMid,
  2930. 3: i64 packageId,
  2931. 4: string language,
  2932. 5: string country,
  2933. ) throws (1: TalkException e),
  2934. ProductList getFreePackages(
  2935. 2: i64 start,
  2936. 3: i32 size,
  2937. 4: string language,
  2938. 5: string country,
  2939. ) throws (1: TalkException e),
  2940. ProductList getPurchaseHistory(
  2941. 2: i64 start,
  2942. 3: i32 size,
  2943. 4: string language,
  2944. 5: string country,
  2945. ) throws (1: TalkException e),
  2946. Coin getTotalBalance(
  2947. 2: PaymentType appStoreCode,
  2948. ) throws (1: TalkException e),
  2949. CoinHistoryResult getCoinUseAndRefundHistory(
  2950. 2: CoinHistoryCondition request,
  2951. ) throws (1: TalkException e),
  2952. ProductList getPresentsReceived(
  2953. 2: i64 start,
  2954. 3: i32 size,
  2955. 4: string language,
  2956. 5: string country,
  2957. ) throws (1: TalkException e),
  2958. }
  2959. service ExternalInterlockService {
  2960. list<PlaceSearchInfo> getPlaceSearchInfo(
  2961. 2: PlaceSearchProvider provider,
  2962. 3: string keyword,
  2963. 4: string clientLocale,
  2964. 5: double latitude,
  2965. 6: double longitude,
  2966. 7: i32 radius,
  2967. ) throws (1: TalkException e),
  2968. }
  2969. service CallService {
  2970. UserStatus getUserStatus(
  2971. 1: string mid,
  2972. ) throws (1: TalkException e),
  2973. void updateProfileAttributeForChannel(
  2974. 2: ProfileAttribute profileAttribute,
  2975. 3: string value,
  2976. ) throws (1: TalkException e),
  2977. void updateExtendedProfileAttribute(
  2978. 1: ExtendedProfileAttribute attr,
  2979. 2: ExtendedProfile extendedProfile,
  2980. ) throws (1: TalkException e),
  2981. list<SimpleChannelContact> getAllSimpleChannelContacts(
  2982. 1: bool statusSticonFallbackDisabled,
  2983. ) throws (1: TalkException e),
  2984. map<RegistrationType, string> getUserIdentities() throws (1: TalkException e),
  2985. PaidCallDialing markPaidCallAd(
  2986. 2: string dialedNumber,
  2987. 3: string language,
  2988. 4: bool disableCallerId,
  2989. ) throws (1: TalkException e),
  2990. bool isGroupMember(
  2991. 1: string groupId,
  2992. ) throws (1: TalkException e),
  2993. PhoneInfoForChannel getPhoneInfoFromPhoneNumber(
  2994. 1: string region,
  2995. 2: string phoneNumber,
  2996. ) throws (1: TalkException e),
  2997. PaidCallRedeemResult redeemPaidCallVoucher(
  2998. 2: string serial,
  2999. 3: string language,
  3000. ) throws (1: TalkException e),
  3001. map<string, string> getPreferredDisplayName(
  3002. 1: list<string> mids,
  3003. ) throws (1: TalkException e),
  3004. list<Contact> getContactsForChannel(
  3005. 2: list<string> ids,
  3006. ) throws (1: TalkException e),
  3007. list<CoinProductItem> getCallCreditProducts(
  3008. 2: PaymentType appStoreCode,
  3009. 3: PaymentPgType pgCode,
  3010. 4: string country,
  3011. 5: string language,
  3012. ) throws (1: TalkException e),
  3013. list<CompactContact> getCompactContacts(
  3014. 2: i64 lastModifiedTimestamp,
  3015. ) throws (1: TalkException e),
  3016. void notifyNotiCenterEvent(
  3017. 1: NotiCenterEventData event,
  3018. ) throws (1: TalkException e),
  3019. bool isInContact(
  3020. 2: string mid,
  3021. ) throws (1: TalkException e),
  3022. list<SimpleChannelContact> lookupGroupMembers(
  3023. 1: string groupId,
  3024. 2: list<string> mids,
  3025. ) throws (1: TalkException e),
  3026. Room getRoomInformation(
  3027. 1: string roomMid,
  3028. ) throws (1: TalkException e),
  3029. GroupCall getGroupCall(
  3030. 2: string chatMid,
  3031. ) throws (1: TalkException e),
  3032. bool isAllowSecondaryDeviceLogin() throws (1: TalkException e),
  3033. SimpleChannelClient getPrimaryClientForChannel() throws (1: TalkException e),
  3034. Room createRoomWithBuddy(
  3035. 1: i32 reqSeq,
  3036. 2: string buddyMid,
  3037. 3: list<string> contactIds,
  3038. ) throws (1: TalkException e),
  3039. string getDisplayName(
  3040. 2: string mid,
  3041. ) throws (1: TalkException e),
  3042. PaidCallMetadataResult getPaidCallMetadata(
  3043. 2: string language,
  3044. ) throws (1: TalkException e),
  3045. string getMid() throws (1: TalkException e),
  3046. string getUserCountryForBilling(
  3047. 2: string country,
  3048. 3: string remoteIp,
  3049. ) throws (1: TalkException e),
  3050. list<string> getFavoriteGroupIdsForChannel() throws (1: TalkException e),
  3051. PaidCallHistoryResult getPaidCallHistory(
  3052. 2: i64 start,
  3053. 3: i32 size,
  3054. 4: string language,
  3055. ) throws (1: TalkException e),
  3056. void sendPinCodeOperation(
  3057. 1: string verifier,
  3058. ) throws (1: TalkException e),
  3059. void inviteIntoGroupCall(
  3060. 2: string chatMid,
  3061. 3: list<string> memberMids,
  3062. 4: GroupCallMediaType mediaType,
  3063. ) throws (1: TalkException e),
  3064. list<string> getFriendMids() throws (1: TalkException e),
  3065. MetaProfile getMetaProfile() throws (1: TalkException e),
  3066. Message sendMessageForChannel(
  3067. 2: Message message,
  3068. ) throws (1: TalkException e),
  3069. i64 activeBuddySubscriberCount() throws (1: TalkException e),
  3070. CoinHistoryResult getCallCreditPurchaseHistory(
  3071. 2: CoinHistoryCondition request,
  3072. ) throws (1: TalkException e),
  3073. bool isRoomMember(
  3074. 1: string roomId,
  3075. ) throws (1: TalkException e),
  3076. Message sendSystemOAMessage(
  3077. 1: Message message,
  3078. ) throws (1: TalkException e),
  3079. PaidCallResponse acquirePaidCallRoute(
  3080. 2: PaidCallType paidCallType,
  3081. 3: string dialedNumber,
  3082. 4: string language,
  3083. 5: string networkCode,
  3084. 6: bool disableCallerId,
  3085. 7: string referer,
  3086. 8: string adSessionId,
  3087. ) throws (1: TalkException e),
  3088. list<Group> getGroupsForChannel(
  3089. 1: list<string> groupIds,
  3090. ) throws (1: TalkException e),
  3091. i64 getUserCreateTime() throws (1: TalkException e),
  3092. string registerChannelCP(
  3093. 2: string cpId,
  3094. 3: string registerPassword,
  3095. ) throws (1: TalkException e),
  3096. PaymentReservationResult reserveCallCreditPurchase(
  3097. 2: CoinPurchaseReservation request,
  3098. ) throws (1: TalkException e),
  3099. list<PaidCallCurrencyExchangeRate> acquirePaidCallCurrencyExchangeRate(
  3100. 2: string language,
  3101. ) throws (1: TalkException e),
  3102. list<string> getRoomMemberMidsForAppPlatform(
  3103. 1: string roomId,
  3104. ) throws (1: TalkException e),
  3105. list<PaidCallBalance> getPaidCallBalanceList(
  3106. 2: string language,
  3107. ) throws (1: TalkException e),
  3108. map<PersonalInfo, string> getPersonalInfos(
  3109. 1: set<PersonalInfo> requiredPersonalInfos,
  3110. ) throws (1: TalkException e),
  3111. list<SimpleChannelClient> getPrimaryClientsForChannel(
  3112. 1: list<string> userMids,
  3113. ) throws (1: TalkException e),
  3114. ContactTransition addBuddyToContact(
  3115. 1: string buddyMid,
  3116. ) throws (1: TalkException e),
  3117. list<string> getGroupMemberMidsForAppPlatform(
  3118. 1: string groupId,
  3119. ) throws (1: TalkException e),
  3120. string getUserLanguage() throws (1: TalkException e),
  3121. PaidCallResponse lookupPaidCall(
  3122. 2: string dialedNumber,
  3123. 3: string language,
  3124. 4: string referer,
  3125. ) throws (1: TalkException e),
  3126. ExtendedProfile getExtendedProfile() throws (1: TalkException e),
  3127. map<string, CompactContact> getReverseCompactContacts(
  3128. 1: list<string> ids,
  3129. ) throws (1: TalkException e),
  3130. PaidCallAdResult getPaidCallAdStatus() throws (1: TalkException e),
  3131. Contact findContactByUseridWithoutAbuseBlockForChannel(
  3132. 2: string userid,
  3133. ) throws (1: TalkException e),
  3134. list<string> getGroupMemberMids(
  3135. 1: string groupId,
  3136. ) throws (1: TalkException e),
  3137. Message sendMessageWithoutRelationship(
  3138. 2: Message message,
  3139. ) throws (1: TalkException e),
  3140. map<string, i64> displayBuddySubscriberCountInBulk(
  3141. 1: list<string> mids,
  3142. ) throws (1: TalkException e),
  3143. list<SimpleChannelContact> lookupRoomMembers(
  3144. 1: string roomId,
  3145. 2: list<string> mids,
  3146. ) throws (1: TalkException e),
  3147. list<string> getFavoriteMidsForChannel() throws (1: TalkException e),
  3148. list<string> getAllContactIdsForChannel() throws (1: TalkException e),
  3149. i64 displayBuddySubscriberCount() throws (1: TalkException e),
  3150. Profile getProfileForChannel() throws (1: TalkException e),
  3151. list<UserTicketResponse> getUserTickets(
  3152. 1: list<string> userMids,
  3153. ) throws (1: TalkException e),
  3154. list<string> getOAFriendMids() throws (1: TalkException e),
  3155. list<PaidCallUserRate> searchPaidCallUserRate(
  3156. 2: string countryCode,
  3157. 3: string language,
  3158. ) throws (1: TalkException e),
  3159. list<string> getJoinedGroupIdsForChannel() throws (1: TalkException e),
  3160. GroupCallRoute acquireGroupCallRoute(
  3161. 2: string chatMid,
  3162. 3: GroupCallMediaType mediaType,
  3163. ) throws (1: TalkException e),
  3164. list<string> getUserMidsWhoAddedMe() throws (1: TalkException e),
  3165. IdentityCredential getIdentityCredential() throws (1: TalkException e),
  3166. void addOperationForChannel(
  3167. 1: OpType opType,
  3168. 2: string param1,
  3169. 3: string param2,
  3170. 4: string param3,
  3171. ) throws (1: TalkException e),
  3172. list<SimpleChannelContact> getSimpleChannelContacts(
  3173. 1: list<string> ids,
  3174. 2: bool statusSticonFallbackDisabled,
  3175. ) throws (1: TalkException e),
  3176. i64 getUserLastSentMessageTimeStamp(
  3177. 1: string mid,
  3178. ) throws (1: TalkException e),
  3179. }
  3180. service AccountSupervisorService {
  3181. string registerVirtualAccount(
  3182. 2: string locale,
  3183. 3: string encryptedVirtualUserId,
  3184. 4: string encryptedPassword,
  3185. ) throws (1: TalkException e),
  3186. void unregisterVirtualAccount(
  3187. 2: string virtualMid,
  3188. ) throws (1: TalkException e),
  3189. void requestVirtualAccountPasswordChange(
  3190. 2: string virtualMid,
  3191. 3: string encryptedVirtualUserId,
  3192. 4: string encryptedOldPassword,
  3193. 5: string encryptedNewPassword,
  3194. ) throws (1: TalkException e),
  3195. void notifyEmailConfirmationResult(
  3196. 2: map<string, string> parameterMap,
  3197. ) throws (1: TalkException e),
  3198. void requestVirtualAccountPasswordSet(
  3199. 2: string virtualMid,
  3200. 3: string encryptedVirtualUserId,
  3201. 4: string encryptedNewPassword,
  3202. ) throws (1: TalkException e),
  3203. RSAKey getRSAKey() throws (1: TalkException e),
  3204. }
  3205. service BeaconQueryService {
  3206. BeaconQueryResponse queryBeaconActions(
  3207. 1: binary hwid,
  3208. 2: binary secureMessage,
  3209. 3: ApplicationType applicationType,
  3210. 4: string applicationVersion,
  3211. 5: string lang,
  3212. ) throws (1: TalkException e),
  3213. }
  3214. service BeaconService {
  3215. void notifyBeaconDetected(
  3216. 1: binary hwid,
  3217. 2: binary secureMessage,
  3218. 3: BeaconNotificationType notificationType,
  3219. ) throws (1: TalkException e),
  3220. }
  3221. service ChannelService {
  3222. ChannelDomains getDomains(
  3223. 2: i64 lastSynced,
  3224. ) throws (1: ChannelException e),
  3225. string approveChannelAndIssueRequestToken(
  3226. 1: string channelId,
  3227. 2: string otpId,
  3228. ) throws (1: ChannelException e),
  3229. OTPResult issueOTP(
  3230. 2: string channelId,
  3231. ) throws (1: ChannelException e),
  3232. ChannelSettings getChannelSettings() throws (1: ChannelException e),
  3233. list<ChannelNotificationSetting> getChannelNotificationSettings(
  3234. 1: string locale,
  3235. ) throws (1: ChannelException e),
  3236. void updateChannelNotificationSetting(
  3237. 1: list<ChannelNotificationSetting> setting,
  3238. ) throws (1: ChannelException e),
  3239. bool updateChannelSettings(
  3240. 1: ChannelSettings channelSettings,
  3241. ) throws (1: ChannelException e),
  3242. ChannelDomains getCommonDomains(
  3243. 1: i64 lastSynced,
  3244. ) throws (1: ChannelException e),
  3245. RequestTokenResponse issueRequestTokenWithAuthScheme(
  3246. 1: string channelId,
  3247. 2: string otpId,
  3248. 3: list<string> authScheme,
  3249. 4: string returnUrl,
  3250. ) throws (1: ChannelException e),
  3251. ChannelNotificationSetting getChannelNotificationSetting(
  3252. 1: string channelId,
  3253. 2: string locale,
  3254. ) throws (1: ChannelException e),
  3255. ChannelToken issueChannelToken(
  3256. 1: string channelId,
  3257. ) throws (1: ChannelException e),
  3258. ChannelInfos getChannels(
  3259. 2: i64 lastSynced,
  3260. 3: string locale,
  3261. ) throws (1: ChannelException e),
  3262. NotificationFetchResult fetchNotificationItems(
  3263. 2: i64 localRev,
  3264. ) throws (1: ChannelException e),
  3265. ChannelInfo getChannelInfo(
  3266. 2: string channelId,
  3267. 3: string locale,
  3268. ) throws (1: ChannelException e),
  3269. i32 getNotificationBadgeCount(
  3270. 2: i64 localRev,
  3271. ) throws (1: ChannelException e),
  3272. string issueRequestToken(
  3273. 1: string channelId,
  3274. 2: string otpId,
  3275. ) throws (1: ChannelException e),
  3276. void revokeChannel(
  3277. 1: string channelId,
  3278. ) throws (1: ChannelException e),
  3279. ApprovedChannelInfos getApprovedChannels(
  3280. 2: i64 lastSynced,
  3281. 3: string locale,
  3282. ) throws (1: ChannelException e),
  3283. FriendChannelMatricesResponse getFriendChannelMatrices(
  3284. 1: list<string> channelIds,
  3285. ) throws (1: ChannelException e),
  3286. string issueRequestTokenForAutoLogin(
  3287. 2: string channelId,
  3288. 3: string otpId,
  3289. 4: string redirectUrl,
  3290. ) throws (1: ChannelException e),
  3291. list<string> getUpdatedChannelIds(
  3292. 1: list<ChannelIdWithLastUpdated> channelIds,
  3293. ) throws (1: ChannelException e),
  3294. string reserveCoinUse(
  3295. 2: CoinUseReservation request,
  3296. 3: string locale,
  3297. ) throws (1: ChannelException e),
  3298. ChannelSyncDatas syncChannelData(
  3299. 2: i64 lastSynced,
  3300. 3: string locale,
  3301. ) throws (1: ChannelException e),
  3302. ChannelToken approveChannelAndIssueChannelToken(
  3303. 1: string channelId,
  3304. ) throws (1: ChannelException e),
  3305. }
  3306. service SnsAdaptorService {
  3307. SnsFriends getSnsFriends(
  3308. 2: SnsIdType snsIdType,
  3309. 3: string snsAccessToken,
  3310. 4: i32 startIdx,
  3311. 5: i32 limit,
  3312. ) throws (1: TalkException e),
  3313. SnsProfile getSnsMyProfile(
  3314. 2: SnsIdType snsIdType,
  3315. 3: string snsAccessToken,
  3316. ) throws (1: TalkException e),
  3317. void postSnsInvitationMessage(
  3318. 2: SnsIdType snsIdType,
  3319. 3: string snsAccessToken,
  3320. 4: string toSnsUserId,
  3321. ) throws (1: TalkException e),
  3322. }
  3323. service TalkService {
  3324. void reportDeviceState(
  3325. 2: map<DeviceBooleanStateKey, bool> booleanState,
  3326. 3: map<DeviceStringStateKey, string> stringState,
  3327. ) throws (1: TalkException e),
  3328. void notifySleepV2(
  3329. 2: map<ServiceCode, ClientLastStatus> lastStatusMap,
  3330. ) throws (1: TalkException e),
  3331. void updateNotificationToken(
  3332. 2: string token,
  3333. 3: NotificationType type,
  3334. ) throws (1: TalkException e),
  3335. void updateGroup(
  3336. 1: i32 reqSeq,
  3337. 2: Group group,
  3338. ) throws (1: TalkException e),
  3339. void verifyAccountMigrationPincode(
  3340. 2: string migrationPincodeSessionId,
  3341. 3: string accountMigrationPincode,
  3342. ) throws (1: TalkException e),
  3343. string registerWithExistingSnsIdAndIdentityCredential(
  3344. 2: IdentityCredential identityCredential,
  3345. 3: string region,
  3346. 4: string udidHash,
  3347. 5: DeviceInfo deviceInfo,
  3348. 6: string migrationPincodeSessionId,
  3349. ) throws (1: TalkException e),
  3350. string registerDeviceWithoutPhoneNumber(
  3351. 2: string region,
  3352. 3: string udidHash,
  3353. 4: DeviceInfo deviceInfo,
  3354. ) throws (1: TalkException e),
  3355. VerificationSessionData changeVerificationMethod(
  3356. 2: string sessionId,
  3357. 3: VerificationMethod method,
  3358. ) throws (1: TalkException e),
  3359. void setBuddyLocation(
  3360. 2: string mid,
  3361. 3: i32 index,
  3362. 4: Geolocation location,
  3363. ) throws (1: TalkException e),
  3364. list<FriendRequest> getFriendRequests(
  3365. 1: FriendRequestDirection direction,
  3366. 2: i64 lastSeenSeqId,
  3367. ) throws (1: TalkException e),
  3368. void kickoutFromGroup(
  3369. 1: i32 reqSeq,
  3370. 2: string groupId,
  3371. 3: list<string> contactIds,
  3372. ) throws (1: TalkException e),
  3373. UserAuthStatus verifyIdentityCredentialWithResult(
  3374. 2: IdentityCredential identityCredential,
  3375. 3: string migrationPincodeSessionId,
  3376. ) throws (1: TalkException e),
  3377. void sendEchoPush(
  3378. 2: string text,
  3379. ) throws (1: TalkException e),
  3380. string createSession() throws (1: TalkException e),
  3381. string reissueDeviceCredential() throws (1: TalkException e),
  3382. list<string> getRecommendationIds() throws (1: TalkException e),
  3383. void inviteViaEmail(
  3384. 1: i32 reqSeq,
  3385. 2: string email,
  3386. 3: string name,
  3387. ) throws (1: TalkException e),
  3388. list<Room> getRoomsV2(
  3389. 2: list<string> roomIds,
  3390. ) throws (1: TalkException e),
  3391. list<Operation> getReadMessageOps(
  3392. 2: string chatId,
  3393. ) throws (1: TalkException e),
  3394. Settings getSettingsAttributes(
  3395. 2: i32 attrBitset,
  3396. ) throws (1: TalkException e),
  3397. void requestIdentityUnbind(
  3398. 2: string identifier,
  3399. 4: IdentityProvider provider,
  3400. ) throws (1: TalkException e),
  3401. list<Message> getMessagesBySequenceNumber(
  3402. 2: string channelId,
  3403. 3: string messageBoxId,
  3404. 4: i64 startSeq,
  3405. 5: i64 endSeq,
  3406. ) throws (1: TalkException e),
  3407. void inviteIntoRoom(
  3408. 1: i32 reqSeq,
  3409. 2: string roomId,
  3410. 3: list<string> contactIds,
  3411. ) throws (1: TalkException e),
  3412. void sendChatChecked(
  3413. 1: i32 seq,
  3414. 2: string consumer,
  3415. 3: string lastMessageId,
  3416. 4: i8 sessionId,
  3417. ) throws (1: TalkException e),
  3418. string removeSnsId(
  3419. 2: SnsIdType snsIdType,
  3420. ) throws (1: TalkException e),
  3421. void reportSpammer(
  3422. 2: string spammerMid,
  3423. 3: list<SpammerReason> spammerReasons,
  3424. 4: list<string> spamMessageIds,
  3425. 5: list<string> spamMessages,
  3426. ) throws (1: TalkException e),
  3427. map<string, Contact> findAndAddContactsByEmail(
  3428. 1: i32 reqSeq,
  3429. 2: set<string> emails,
  3430. ) throws (1: TalkException e),
  3431. list<Group> getCompactGroups(
  3432. 2: list<string> groupIds,
  3433. ) throws (1: TalkException e),
  3434. Message sendMessage(
  3435. 1: i32 seq,
  3436. 2: Message message,
  3437. ) throws (1: TalkException e),
  3438. list<Room> getRooms(
  3439. 2: list<string> roomIds,
  3440. ) throws (1: TalkException e),
  3441. void updateC2DMRegistrationId(
  3442. 2: string registrationId,
  3443. ) throws (1: TalkException e),
  3444. void sendPostback(
  3445. 2: SendPostbackRequest request,
  3446. ) throws (1: TalkException e),
  3447. list<Operation> getReadMessageOpsInBulk(
  3448. 2: list<string> chatIds,
  3449. ) throws (1: TalkException e),
  3450. void sendMessageIgnored(
  3451. 1: i32 seq,
  3452. 2: string consumer,
  3453. 3: list<string> messageIds,
  3454. ) throws (1: TalkException e),
  3455. TMessageBoxWrapUpResponse getMessageBoxWrapUpListV2(
  3456. 2: i32 messageBoxOffset,
  3457. 3: i32 messageBoxCount,
  3458. ) throws (1: TalkException e),
  3459. list<Operation> getOldReadMessageOpsWithRange(
  3460. 2: i64 startRev,
  3461. 3: i64 endRev,
  3462. ) throws (1: TalkException e),
  3463. RSAKey getRSAKeyInfo(
  3464. 2: IdentityProvider provider,
  3465. ) throws (1: TalkException e),
  3466. void updateProfileAttribute(
  3467. 1: i32 reqSeq,
  3468. 2: ProfileAttribute attr,
  3469. 3: string value,
  3470. ) throws (1: TalkException e),
  3471. string createAccountMigrationPincodeSession() throws (1: TalkException e),
  3472. void notifiedRedirect(
  3473. 2: map<string, string> paramMap,
  3474. ) throws (1: TalkException e),
  3475. void notifyIndividualEvent(
  3476. 2: NotificationStatus notificationStatus,
  3477. 3: list<string> receiverMids,
  3478. ) throws (1: TalkException e),
  3479. void updateApnsDeviceToken(
  3480. 2: binary apnsDeviceToken,
  3481. ) throws (1: TalkException e),
  3482. TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpListV2(
  3483. 2: i32 messageBoxOffset,
  3484. 3: i32 messageBoxCount,
  3485. ) throws (1: TalkException e),
  3486. EmailConfirmationSession requestEmailConfirmation(
  3487. 2: EmailConfirmation emailConfirmation,
  3488. ) throws (1: TalkException e),
  3489. string registerWithSnsIdAndIdentityCredential(
  3490. 2: SnsIdType snsIdType,
  3491. 3: string snsAccessToken,
  3492. 4: IdentityCredential identityCredential,
  3493. 5: string region,
  3494. 6: string udidHash,
  3495. 7: DeviceInfo deviceInfo,
  3496. 8: string migrationPincodeSessionId,
  3497. ) throws (1: TalkException e),
  3498. TMessageBoxWrapUp getMessageBoxCompactWrapUp(
  3499. 2: string mid,
  3500. ) throws (1: TalkException e),
  3501. Contact findContactByUserTicket(
  3502. 2: string ticketIdWithTag,
  3503. ) throws (1: TalkException e),
  3504. void updateAccountMigrationPincode(
  3505. 2: string accountMigrationPincode,
  3506. ) throws (1: TalkException e),
  3507. string registerBuddyUser(
  3508. 2: string buddyId,
  3509. 3: string registrarPassword,
  3510. ) throws (1: TalkException e),
  3511. i32 updateSettings2(
  3512. 1: i32 reqSeq,
  3513. 2: Settings settings,
  3514. ) throws (1: TalkException e),
  3515. Ticket getUserTicket() throws (1: TalkException e),
  3516. list<Operation> fetchOps(
  3517. 2: i64 localRev,
  3518. 3: i32 count,
  3519. 4: i64 globalRev,
  3520. 5: i64 individualRev,
  3521. ) throws (1: ShouldSyncException e),
  3522. CommitSendMessagesToMidResponse commitSendMessagesToMid(
  3523. 1: CommitSendMessagesToMidRequest request,
  3524. ) throws (1: TalkException e),
  3525. TMessageBox getMessageBoxV2(
  3526. 2: string messageBoxId,
  3527. 3: i32 lastMessagesCount,
  3528. ) throws (1: TalkException e),
  3529. void requestResendMessage(
  3530. 1: i32 reqSeq,
  3531. 2: string senderMid,
  3532. 3: string messageId,
  3533. ) throws (1: TalkException e),
  3534. Group getGroupWithoutMembers(
  3535. 2: string groupId,
  3536. ) throws (1: TalkException e),
  3537. void removeAllMessages(
  3538. 1: i32 seq,
  3539. 2: string lastMessageId,
  3540. ) throws (1: TalkException e),
  3541. void verifyAccountMigration(
  3542. 2: string migrationSessionId,
  3543. ) throws (1: TalkException e),
  3544. string reissueGroupTicket(
  3545. 1: string groupMid,
  3546. ) throws (1: TalkException e),
  3547. void logoutSession(
  3548. 2: string tokenKey,
  3549. ) throws (1: TalkException e),
  3550. Geolocation getBuddyLocation(
  3551. 2: string mid,
  3552. 3: i32 index,
  3553. ) throws (1: TalkException e),
  3554. WapInvitation getWapInvitation(
  3555. 2: string invitationHash,
  3556. ) throws (1: TalkException e),
  3557. string registerDevice(
  3558. 2: string sessionId,
  3559. 3: string migrationPincodeSessionId,
  3560. ) throws (1: TalkException e),
  3561. void clearMessageBox(
  3562. 2: string channelId,
  3563. 3: string messageBoxId,
  3564. ) throws (1: TalkException e),
  3565. LoginResult loginWithIdentityCredentialForCertificate(
  3566. 3: string identifier,
  3567. 4: string password,
  3568. 5: bool keepLoggedIn,
  3569. 6: string accessLocation,
  3570. 7: string systemName,
  3571. 8: IdentityProvider identityProvider,
  3572. 9: string certificate,
  3573. ) throws (1: TalkException e),
  3574. SuggestDictionarySettings getSuggestSettings(
  3575. 2: string locale,
  3576. ) throws (1: TalkException e),
  3577. list<NearbyEntry> updateAndGetNearby(
  3578. 2: double latitude,
  3579. 3: double longitude,
  3580. ) throws (1: TalkException e),
  3581. list<SnsFriendContactRegistration> syncContactBySnsIds(
  3582. 1: i32 reqSeq,
  3583. 2: list<SnsFriendModification> modifications,
  3584. ) throws (1: TalkException e),
  3585. list<Contact> getContacts(
  3586. 2: list<string> ids,
  3587. ) throws (1: TalkException e),
  3588. TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpList(
  3589. 2: i32 start,
  3590. 3: i32 messageBoxCount,
  3591. ) throws (1: TalkException e),
  3592. set<Contact> getProximityMatchCandidates(
  3593. 2: string sessionId,
  3594. ) throws (1: TalkException e),
  3595. void updateExtendedProfileAttribute(
  3596. 1: i32 reqSeq,
  3597. 2: ExtendedProfileAttribute attr,
  3598. 3: ExtendedProfile extendedProfile,
  3599. ) throws (1: TalkException e),
  3600. void resendPinCode(
  3601. 2: string sessionId,
  3602. ) throws (1: TalkException e),
  3603. void reportSettings(
  3604. 2: i64 syncOpRevision,
  3605. 3: Settings settings,
  3606. ) throws (1: TalkException e),
  3607. void registerBuddyUserid(
  3608. 2: i32 seq,
  3609. 3: string userid,
  3610. ) throws (1: TalkException e),
  3611. Group findGroupByTicket(
  3612. 1: string ticketId,
  3613. ) throws (1: TalkException e),
  3614. string registerDeviceWithIdentityCredential(
  3615. 2: string sessionId,
  3616. 3: string identifier,
  3617. 4: string verifier,
  3618. 5: IdentityProvider provider,
  3619. 6: string migrationPincodeSessionId,
  3620. ) throws (1: TalkException e),
  3621. void invalidateUserTicket() throws (1: TalkException e),
  3622. Message sendEvent(
  3623. 1: i32 seq,
  3624. 2: Message message,
  3625. ) throws (1: TalkException e),
  3626. Message sendMessageToMyHome(
  3627. 1: i32 seq,
  3628. 2: Message message,
  3629. ) throws (1: TalkException e),
  3630. map<string, string> sendContentPreviewUpdated(
  3631. 1: i32 esq,
  3632. 2: string messageId,
  3633. 3: list<string> receiverMids,
  3634. ) throws (1: TalkException e),
  3635. string loginWithVerifier(
  3636. 3: string verifier,
  3637. ) throws (1: TalkException e),
  3638. void removeBuddySubscriptionAndNotifyBuddyUnregistered(
  3639. 1: list<string> subscriberMids,
  3640. ) throws (1: TalkException e),
  3641. void unblockContact(
  3642. 1: i32 reqSeq,
  3643. 2: string id,
  3644. 3: string reference,
  3645. ) throws (1: TalkException e),
  3646. void removeBuddyLocation(
  3647. 2: string mid,
  3648. 3: i32 index,
  3649. ) throws (1: TalkException e),
  3650. RingbackTone getRingbackTone() throws (1: TalkException e),
  3651. Configurations getConfigurations(
  3652. 2: i64 revision,
  3653. 3: string regionOfUsim,
  3654. 4: string regionOfTelephone,
  3655. 5: string regionOfLocale,
  3656. 6: string carrier,
  3657. ) throws (1: TalkException e),
  3658. ProximityMatchCandidateResult getProximityMatchCandidateList(
  3659. 2: string sessionId,
  3660. ) throws (1: TalkException e),
  3661. void requestAccountPasswordReset(
  3662. 2: string identifier,
  3663. 4: IdentityProvider provider,
  3664. 5: string locale,
  3665. ) throws (1: TalkException e),
  3666. list<Message> getNextMessages(
  3667. 2: string messageBoxId,
  3668. 3: i64 startSeq,
  3669. 4: i32 messagesCount,
  3670. ) throws (1: TalkException e),
  3671. void reportProfile(
  3672. 2: i64 syncOpRevision,
  3673. 3: Profile profile,
  3674. ) throws (1: TalkException e),
  3675. Room getCompactRoom(
  3676. 2: string roomId,
  3677. ) throws (1: TalkException e),
  3678. i64 getLastOpRevision() throws (1: TalkException e),
  3679. list<Message> getPreviousMessagesV2(
  3680. 2: string messageBoxId,
  3681. 3: MessageBoxV2MessageId endMessageId,
  3682. 4: i32 messagesCount,
  3683. ) throws (1: TalkException e),
  3684. list<Announcement> fetchAnnouncements(
  3685. 2: i32 lastFetchedIndex,
  3686. ) throws (1: TalkException e),
  3687. list<string> acquireCallRoute(
  3688. 2: string to,
  3689. ) throws (1: TalkException e),
  3690. void updateSettingsAttribute(
  3691. 1: i32 reqSeq,
  3692. 2: SettingsAttribute attr,
  3693. 3: string value,
  3694. ) throws (1: TalkException e),
  3695. Group createGroupV2(
  3696. 1: i32 seq,
  3697. 2: string name,
  3698. 3: list<string> contactIds,
  3699. ) throws (1: TalkException e),
  3700. bool isIdentityIdentifierAvailable(
  3701. 2: string identifier,
  3702. 3: IdentityProvider provider,
  3703. ) throws (1: TalkException e),
  3704. void blockContact(
  3705. 1: i32 reqSeq,
  3706. 2: string id,
  3707. ) throws (1: TalkException e),
  3708. map<string, string> commitUpdateProfile(
  3709. 1: i32 seq,
  3710. 2: list<ProfileAttribute> attrs,
  3711. 3: list<string> receiverMids,
  3712. ) throws (1: TalkException e),
  3713. RegisterWithSnsIdResult registerWithSnsId(
  3714. 2: SnsIdType snsIdType,
  3715. 3: string snsAccessToken,
  3716. 4: string region,
  3717. 5: string udidHash,
  3718. 6: DeviceInfo deviceInfo,
  3719. 7: string mid,
  3720. 8: string migrationPincodeSessionId,
  3721. ) throws (1: TalkException e),
  3722. PublicKeychain updatePublicKeychain(
  3723. 1: PublicKeychain publicKeychain,
  3724. ) throws (1: TalkException e),
  3725. LoginResult loginWithVerifierForCerificate(
  3726. 3: string verifier,
  3727. ) throws (1: TalkException e),
  3728. void tryFriendRequest(
  3729. 1: string midOrEMid,
  3730. 2: FriendRequestMethod method,
  3731. 3: string friendRequestParams,
  3732. ) throws (1: TalkException e),
  3733. list<string> getBlockedRecommendationIds() throws (1: TalkException e),
  3734. list<string> getGroupIdsInvited() throws (1: TalkException e),
  3735. SuggestDictionaryIncrements getSuggestIncrements(
  3736. 2: SuggestDictionaryRevisions revisions,
  3737. ) throws (1: TalkException e),
  3738. void resendPinCodeBySMS(
  3739. 2: string sessionId,
  3740. ) throws (1: TalkException e),
  3741. RegisterWithPhoneNumberResult registerWithPhoneNumber(
  3742. 2: string sessionId,
  3743. 3: string migrationPincodeSessionId,
  3744. ) throws (1: TalkException e),
  3745. list<string> getActiveBuddySubscriberIds() throws (1: TalkException e),
  3746. Room createRoom(
  3747. 1: i32 reqSeq,
  3748. 2: list<string> contactIds,
  3749. ) throws (1: TalkException e),
  3750. string verifyPhoneNumberForLogin(
  3751. 2: string verifierFromPhone,
  3752. 3: string pinCodeForPhone,
  3753. 4: string verifierFromLogin,
  3754. ) throws (1: TalkException e),
  3755. string addSnsId(
  3756. 2: SnsIdType snsIdType,
  3757. 3: string snsAccessToken,
  3758. ) throws (1: TalkException e),
  3759. void finishUpdateVerification(
  3760. 2: string sessionId,
  3761. ) throws (1: TalkException e),
  3762. map<string, string> validateContactsOnBot(
  3763. 2: list<string> contacts,
  3764. ) throws (1: TalkException e),
  3765. Room getRoom(
  3766. 2: string roomId,
  3767. ) throws (1: TalkException e),
  3768. void closeProximityMatch(
  3769. 2: string sessionId,
  3770. ) throws (1: TalkException e),
  3771. Group getCompactGroup(
  3772. 2: string groupId,
  3773. ) throws (1: TalkException e),
  3774. list<string> getBlockedContactIdsByRange(
  3775. 2: i32 start,
  3776. 3: i32 count,
  3777. ) throws (1: TalkException e),
  3778. list<Message> getRecentMessagesV2(
  3779. 2: string messageBoxId,
  3780. 3: i32 messagesCount,
  3781. ) throws (1: TalkException e),
  3782. string reissueUserTicket(
  3783. 3: i64 expirationTime,
  3784. 4: i32 maxUseCount,
  3785. ) throws (1: TalkException e),
  3786. list<TMessageReadRange> getMessageReadRange(
  3787. 2: list<string> chatIds,
  3788. ) throws (1: TalkException e),
  3789. void clearRingbackTone() throws (1: TalkException e),
  3790. void setIdentityCredential(
  3791. 2: string identifier,
  3792. 3: string verifier,
  3793. 4: IdentityProvider provider,
  3794. ) throws (1: TalkException e),
  3795. TMessageBoxWrapUp getMessageBoxCompactWrapUpV2(
  3796. 2: string messageBoxId,
  3797. ) throws (1: TalkException e),
  3798. i64 getServerTime() throws (1: TalkException e),
  3799. Message trySendMessage(
  3800. 1: i32 seq,
  3801. 2: Message message,
  3802. ) throws (1: TalkException e),
  3803. list<Message> getNextMessagesV2(
  3804. 2: string messageBoxId,
  3805. 3: MessageBoxV2MessageId startMessageId,
  3806. 4: i32 messagesCount,
  3807. ) throws (1: TalkException e),
  3808. void notifySleep(
  3809. 2: i64 lastRev,
  3810. 3: i32 badge,
  3811. ) throws (1: TalkException e),
  3812. list<string> getBuddyBlockerIds() throws (1: TalkException e),
  3813. void removeE2EEPublicKey(
  3814. 2: E2EEPublicKey publicKey,
  3815. ) throws (1: TalkException e),
  3816. string reissueTrackingTicket(
  3817. 1: TrackingType type,
  3818. ) throws (1: TalkException e),
  3819. void cancelGroupInvitation(
  3820. 1: i32 reqSeq,
  3821. 2: string groupId,
  3822. 3: list<string> contactIds,
  3823. ) throws (1: TalkException e),
  3824. bool removeMessage(
  3825. 2: string messageId,
  3826. ) throws (1: TalkException e),
  3827. list<Operation> getAllReadMessageOps() throws (1: TalkException e),
  3828. string unregisterUserAndDevice() throws (1: TalkException e),
  3829. void acceptGroupInvitation(
  3830. 1: i32 reqSeq,
  3831. 2: string groupId,
  3832. ) throws (1: TalkException e),
  3833. list<CompactContact> getCompactContactsModifiedSince(
  3834. 2: i64 timestamp,
  3835. ) throws (1: TalkException e),
  3836. void releaseSession() throws (1: TalkException e),
  3837. map<string, Contact> findContactsByPhone(
  3838. 2: set<string> phones,
  3839. ) throws (1: TalkException e),
  3840. list<string> getHiddenContactMids() throws (1: TalkException e),
  3841. string getEncryptedIdentity() throws (1: TalkException e),
  3842. void updateProfile(
  3843. 1: i32 reqSeq,
  3844. 2: Profile profile,
  3845. ) throws (1: TalkException e),
  3846. void reportSpam(
  3847. 2: string chatMid,
  3848. 3: list<string> memberMids,
  3849. 4: list<SpammerReason> spammerReasons,
  3850. 5: list<string> senderMids,
  3851. 6: list<string> spamMessageIds,
  3852. 7: list<string> spamMessages,
  3853. ) throws (1: TalkException e),
  3854. SuggestDictionaryRevisions getSuggestRevisions() throws (1: TalkException e),
  3855. list<Message> getPreviousMessagesV2WithReadCount(
  3856. 2: string messageBoxId,
  3857. 3: MessageBoxV2MessageId endMessageId,
  3858. 4: i32 messagesCount,
  3859. ) throws (1: TalkException e),
  3860. list<Operation> fetchOperations(
  3861. 2: i64 localRev,
  3862. 3: i32 count,
  3863. ) throws (1: ShouldSyncException e),
  3864. string registerWapDevice(
  3865. 2: string invitationHash,
  3866. 3: string guidHash,
  3867. 4: string email,
  3868. 5: DeviceInfo deviceInfo,
  3869. ) throws (1: TalkException e),
  3870. FriendRequestsInfo getRecentFriendRequests() throws (1: TalkException e),
  3871. map<string, string> notifyBuddyOnAir(
  3872. 1: i32 seq,
  3873. 2: list<string> receiverMids,
  3874. ) throws (1: TalkException e),
  3875. i32 getLastAnnouncementIndex() throws (1: TalkException e),
  3876. CommitMessageResult sendMessageAwaitCommit(
  3877. 1: i32 seq,
  3878. 2: Message message,
  3879. ) throws (1: TalkException e),
  3880. E2EENegotiationResult negotiateE2EEPublicKey(
  3881. 2: string mid,
  3882. ) throws (1: TalkException e),
  3883. E2EEGroupSharedKey registerE2EEGroupKey(
  3884. 2: i32 version,
  3885. 3: string chatMid,
  3886. 4: list<string> members,
  3887. 5: list<i32> keyIds,
  3888. 6: list<binary> encryptedSharedKeys,
  3889. ) throws (1: TalkException e),
  3890. SnsIdUserStatus findSnsIdUserStatus(
  3891. 2: SnsIdType snsIdType,
  3892. 3: string snsAccessToken,
  3893. 4: string udidHash,
  3894. 5: string migrationPincodeSessionId,
  3895. 6: string oldUdidHash,
  3896. ) throws (1: TalkException e),
  3897. void notifyUpdated(
  3898. 2: i64 lastRev,
  3899. 3: DeviceInfo deviceInfo,
  3900. 4: string udidHash,
  3901. 5: string oldUdidHash,
  3902. ) throws (1: TalkException e),
  3903. void reportGroups(
  3904. 2: i64 syncOpRevision,
  3905. 3: list<Group> groups,
  3906. ) throws (1: TalkException e),
  3907. list<NotificationType> getNotificationPolicy(
  3908. 2: CarrierCode carrier,
  3909. ) throws (1: TalkException e),
  3910. map<string, Contact> findAndAddContactsByUserid(
  3911. 1: i32 reqSeq,
  3912. 2: string userid,
  3913. ) throws (1: TalkException e),
  3914. E2EEGroupSharedKey getLastE2EEGroupSharedKey(
  3915. 2: i32 version,
  3916. 3: string chatMid,
  3917. ) throws (1: TalkException e),
  3918. void notifyUpdatePublicKeychain(
  3919. 1: string mid,
  3920. ) throws (1: TalkException e),
  3921. void report(
  3922. 2: i64 syncOpRevision,
  3923. 3: SyncCategory category,
  3924. 4: string report,
  3925. ) throws (1: TalkException e),
  3926. void acceptGroupInvitationByTicket(
  3927. 1: i32 reqSeq,
  3928. 2: string groupMid,
  3929. 3: string ticketId,
  3930. ) throws (1: TalkException e),
  3931. ContactRegistration getContactRegistration(
  3932. 1: string id,
  3933. 2: ContactType type,
  3934. ) throws (1: TalkException e),
  3935. void updateContactSetting(
  3936. 1: i32 reqSeq,
  3937. 2: string mid,
  3938. 3: ContactSetting flag,
  3939. 4: string value,
  3940. ) throws (1: TalkException e),
  3941. Contact getContactWithFriendRequestStatus(
  3942. 2: string id,
  3943. ) throws (1: TalkException e),
  3944. list<TMessageBox> getMessageBoxListByStatus(
  3945. 2: string channelId,
  3946. 3: i32 lastMessagesCount,
  3947. 4: i32 status,
  3948. ) throws (1: TalkException e),
  3949. string openProximityMatch(
  3950. 2: Location location,
  3951. ) throws (1: TalkException e),
  3952. void logout() throws (1: TalkException e),
  3953. E2EEPublicKey getE2EEPublicKey(
  3954. 2: string mid,
  3955. 3: i32 version,
  3956. 4: i32 keyId,
  3957. ) throws (1: TalkException e),
  3958. bool registerUserid(
  3959. 1: i32 reqSeq,
  3960. 2: string userid,
  3961. ) throws (1: TalkException e),
  3962. list<ContactReportResult> reportContacts(
  3963. 2: i64 syncOpRevision,
  3964. 3: SyncCategory category,
  3965. 4: list<ContactReport> contactReports,
  3966. 5: SyncActionType actionType,
  3967. ) throws (1: TalkException e),
  3968. PublicKeychain getPublicKeychain(
  3969. 1: string mid,
  3970. ) throws (1: TalkException e),
  3971. void sendContentReceipt(
  3972. 1: i32 seq,
  3973. 2: string consumer,
  3974. 3: string messageId,
  3975. ) throws (1: TalkException e),
  3976. void respondResendMessage(
  3977. 1: i32 reqSeq,
  3978. 2: string receiverMid,
  3979. 3: string originalMessageId,
  3980. 4: Message resendMessage,
  3981. 5: ErrorCode errorCode,
  3982. ) throws (1: TalkException e),
  3983. set<string> getAllRoomIds() throws (1: TalkException e),
  3984. void requestE2EEKeyExchange(
  3985. 1: i32 reqSeq,
  3986. 2: binary temporalPublicKey,
  3987. 3: E2EEPublicKey publicKey,
  3988. 4: binary verifier,
  3989. ) throws (1: TalkException e),
  3990. void disableNearby() throws (1: TalkException e),
  3991. string createQrcodeBase64Image(
  3992. 2: string url,
  3993. 3: string characterSet,
  3994. 4: i32 imageSize,
  3995. 5: i32 x,
  3996. 6: i32 y,
  3997. 7: i32 width,
  3998. 8: i32 height,
  3999. ) throws (1: TalkException e),
  4000. list<TMessageBox> getMessageBoxList(
  4001. 2: string channelId,
  4002. 3: i32 lastMessagesCount,
  4003. ) throws (1: TalkException e),
  4004. void respondE2EEKeyExchange(
  4005. 1: i32 reqSeq,
  4006. 2: binary encryptedKeyChain,
  4007. 3: binary hashKeyChain,
  4008. ) throws (1: TalkException e),
  4009. string verifyQrcode(
  4010. 2: string verifier,
  4011. 3: string pinCode,
  4012. ) throws (1: TalkException e),
  4013. void updateNotificationTokenWithBytes(
  4014. 2: binary token,
  4015. 3: NotificationType type,
  4016. ) throws (1: TalkException e),
  4017. list<Message> getPreviousMessages(
  4018. 2: string messageBoxId,
  4019. 3: i64 endSeq,
  4020. 4: i32 messagesCount,
  4021. ) throws (1: TalkException e),
  4022. Settings getSettings() throws (1: TalkException e),
  4023. map<string, E2EEPublicKey> getLastE2EEPublicKeys(
  4024. 2: string chatMid,
  4025. ) throws (1: TalkException e),
  4026. E2EEPublicKey registerE2EEPublicKey(
  4027. 1: i32 reqSeq,
  4028. 2: E2EEPublicKey publicKey,
  4029. ) throws (1: TalkException e),
  4030. string acquireCallTicket(
  4031. 2: string to,
  4032. ) throws (1: TalkException e),
  4033. void inviteIntoGroup(
  4034. 1: i32 reqSeq,
  4035. 2: string groupId,
  4036. 3: list<string> contactIds,
  4037. ) throws (1: TalkException e),
  4038. ContactTransition makeUserAddMyselfAsContact(
  4039. 1: string contactOwnerMid,
  4040. ) throws (1: TalkException e),
  4041. bool removeMessageFromMyHome(
  4042. 2: string messageId,
  4043. ) throws (1: TalkException e),
  4044. map<string, string> commitSendMessages(
  4045. 1: i32 seq,
  4046. 2: list<string> messageIds,
  4047. 3: list<string> receiverMids,
  4048. 4: bool onlyToFollowers,
  4049. ) throws (1: TalkException e),
  4050. RegisterWithPhoneNumberResult registerWithPhoneNumberAndPassword(
  4051. 2: string sessionId,
  4052. 3: string keynm,
  4053. 4: string encrypted,
  4054. ) throws (1: TalkException e),
  4055. void leaveGroup(
  4056. 1: i32 reqSeq,
  4057. 2: string groupId,
  4058. ) throws (1: TalkException e),
  4059. AnalyticsInfo getAnalyticsInfo() throws (1: TalkException e),
  4060. void reportClientStatistics(
  4061. 1: i32 reqSeq,
  4062. 2: ReportCategory category,
  4063. 3: i32 count,
  4064. ) throws (1: TalkException e),
  4065. void acceptProximityMatches(
  4066. 2: string sessionId,
  4067. 3: set<string> ids,
  4068. ) throws (1: TalkException e),
  4069. Group getGroup(
  4070. 2: string groupId,
  4071. ) throws (1: TalkException e),
  4072. void clearIdentityCredential() throws (1: TalkException e),
  4073. list<string> getUpdatedMessageBoxIds(
  4074. 2: MessageBoxV2MessageId startMessageId,
  4075. 3: string startMessageBoxId,
  4076. 4: i32 messageBoxCount,
  4077. ) throws (1: TalkException e),
  4078. list<Group> getGroups(
  4079. 2: list<string> groupIds,
  4080. ) throws (1: TalkException e),
  4081. void sendMessageReceipt(
  4082. 1: i32 seq,
  4083. 2: string consumer,
  4084. 3: list<string> messageIds,
  4085. ) throws (1: TalkException e),
  4086. Contact findContactByMetaTag(
  4087. 2: string userid,
  4088. 3: string reference,
  4089. ) throws (1: TalkException e),
  4090. void destroyMessage(
  4091. 1: i32 seq,
  4092. 2: string chatId,
  4093. 3: string messageId,
  4094. 4: i8 sessionId,
  4095. ) throws (1: TalkException e),
  4096. Ticket generateUserTicket(
  4097. 3: i64 expirationTime,
  4098. 4: i32 maxUseCount,
  4099. ) throws (1: TalkException e),
  4100. string registerDeviceWithoutPhoneNumberWithIdentityCredential(
  4101. 2: string region,
  4102. 3: string udidHash,
  4103. 4: DeviceInfo deviceInfo,
  4104. 5: IdentityProvider provider,
  4105. 6: string identifier,
  4106. 7: string verifier,
  4107. 8: string mid,
  4108. 9: string migrationPincodeSessionId,
  4109. ) throws (1: TalkException e),
  4110. list<string> getFavoriteMids() throws (1: TalkException e),
  4111. set<string> getAcceptedProximityMatches(
  4112. 2: string sessionId,
  4113. ) throws (1: TalkException e),
  4114. void notifyInstalled(
  4115. 2: string udidHash,
  4116. 3: string applicationTypeWithExtensions,
  4117. ),
  4118. string getCountryWithRequestIp() throws (1: TalkException e),
  4119. list<Group> getGroupsV2(
  4120. 2: list<string> groupIds,
  4121. ) throws (1: TalkException e),
  4122. string loginWithIdentityCredential(
  4123. 3: string identifier,
  4124. 4: string password,
  4125. 5: bool keepLoggedIn,
  4126. 6: string accessLocation,
  4127. 7: string systemName,
  4128. 8: IdentityProvider identityProvider,
  4129. 9: string certificate,
  4130. ) throws (1: TalkException e),
  4131. VerificationSessionData startUpdateVerification(
  4132. 2: string region,
  4133. 3: CarrierCode carrier,
  4134. 4: string phone,
  4135. 5: string udidHash,
  4136. 6: DeviceInfo deviceInfo,
  4137. 7: string networkCode,
  4138. 8: string locale,
  4139. 9: SIMInfo simInfo,
  4140. ) throws (1: TalkException e),
  4141. list<LoginSession> getSessions() throws (1: TalkException e),
  4142. void updateSettings(
  4143. 1: i32 reqSeq,
  4144. 2: Settings settings,
  4145. ) throws (1: TalkException e),
  4146. Contact getContact(
  4147. 2: string id,
  4148. ) throws (1: TalkException e),
  4149. list<string> getBlockedContactIds() throws (1: TalkException e),
  4150. LoginResult loginWithVerifierForCertificate(
  4151. 3: string verifier,
  4152. ) throws (1: TalkException e),
  4153. Profile getProfile() throws (1: TalkException e),
  4154. map<string, Contact> findContactsByEmail(
  4155. 2: set<string> emails,
  4156. ) throws (1: TalkException e),
  4157. SystemConfiguration getSystemConfiguration() throws (1: TalkException e),
  4158. list<Message> getRecentMessages(
  4159. 2: string messageBoxId,
  4160. 3: i32 messagesCount,
  4161. ) throws (1: TalkException e),
  4162. VerificationResult verifyPhone(
  4163. 2: string sessionId,
  4164. 3: string pinCode,
  4165. 4: string udidHash,
  4166. ) throws (1: TalkException e),
  4167. Group createGroup(
  4168. 1: i32 seq,
  4169. 2: string name,
  4170. 3: list<string> contactIds,
  4171. ) throws (1: TalkException e),
  4172. void updateBuddySetting(
  4173. 2: string key,
  4174. 3: string value,
  4175. ) throws (1: TalkException e),
  4176. void updateRegion(
  4177. 2: string region,
  4178. ) throws (1: TalkException e),
  4179. void verifyIdentityCredential(
  4180. 3: string identifier,
  4181. 4: string password,
  4182. 8: IdentityProvider identityProvider,
  4183. ) throws (1: TalkException e),
  4184. void sendChatRemoved(
  4185. 1: i32 seq,
  4186. 2: string consumer,
  4187. 3: string lastMessageId,
  4188. 4: i8 sessionId,
  4189. ) throws (1: TalkException e),
  4190. list<string> getGroupIdsJoined() throws (1: TalkException e),
  4191. Contact findContactByUserid(
  4192. 2: string userid,
  4193. ) throws (1: TalkException e),
  4194. list<E2EEPublicKey> getE2EEPublicKeys() throws (1: TalkException e),
  4195. TMessageBoxWrapUpResponse getMessageBoxWrapUpList(
  4196. 2: i32 start,
  4197. 3: i32 messageBoxCount,
  4198. ) throws (1: TalkException e),
  4199. void leaveRoom(
  4200. 1: i32 reqSeq,
  4201. 2: string roomId,
  4202. ) throws (1: TalkException e),
  4203. void unblockRecommendation(
  4204. 1: i32 reqSeq,
  4205. 2: string id,
  4206. ) throws (1: TalkException e),
  4207. map<string, Contact> findAndAddContactsByPhone(
  4208. 1: i32 reqSeq,
  4209. 2: set<string> phones,
  4210. ) throws (1: TalkException e),
  4211. AuthQrcode getAuthQrcode(
  4212. 2: bool keepLoggedIn,
  4213. 3: string systemName,
  4214. 4: bool returnCallbackUrl,
  4215. ) throws (1: TalkException e),
  4216. E2EEGroupSharedKey getE2EEGroupSharedKey(
  4217. 2: i32 version,
  4218. 3: string chatMid,
  4219. 4: i32 groupKeyId,
  4220. ) throws (1: TalkException e),
  4221. TMessageBoxWrapUp getMessageBoxWrapUp(
  4222. 2: string mid,
  4223. ) throws (1: TalkException e),
  4224. i32 updateSettingsAttributes(
  4225. 1: i32 reqSeq,
  4226. 2: i32 attrBitset,
  4227. 3: Settings settings,
  4228. ) throws (1: TalkException e),
  4229. VerificationSessionData startVerification(
  4230. 2: string region,
  4231. 3: CarrierCode carrier,
  4232. 4: string phone,
  4233. 5: string udidHash,
  4234. 6: DeviceInfo deviceInfo,
  4235. 7: string networkCode,
  4236. 8: string mid,
  4237. 9: string locale,
  4238. 10: SIMInfo simInfo,
  4239. 11: string oldUdidHash,
  4240. ) throws (1: TalkException e),
  4241. void reportRooms(
  4242. 2: i64 syncOpRevision,
  4243. 3: list<Room> rooms,
  4244. ) throws (1: TalkException e),
  4245. void updateGroupPreferenceAttribute(
  4246. 1: i32 reqSeq,
  4247. 2: string groupMid,
  4248. 3: map<GroupPreferenceAttribute, string> updatedAttrs,
  4249. ) throws (1: TalkException e),
  4250. TMessageBoxWrapUp getMessageBoxWrapUpV2(
  4251. 2: string messageBoxId,
  4252. ) throws (1: TalkException e),
  4253. list<Room> getCompactRooms(
  4254. 2: list<string> roomIds,
  4255. ) throws (1: TalkException e),
  4256. Contact findAndAddContactByMetaTag(
  4257. 1: i32 reqSeq,
  4258. 2: string userid,
  4259. 3: string reference,
  4260. ) throws (1: TalkException e),
  4261. void storeUpdateProfileAttribute(
  4262. 1: i32 seq,
  4263. 2: ProfileAttribute profileAttribute,
  4264. 3: string value,
  4265. ) throws (1: TalkException e),
  4266. EmailConfirmationSession resendEmailConfirmation(
  4267. 2: string verifier,
  4268. ) throws (1: TalkException e),
  4269. EmailConfirmationResult confirmEmail(
  4270. 2: string verifier,
  4271. 3: string pinCode,
  4272. ) throws (1: TalkException e),
  4273. ExtendedProfile getExtendedProfile() throws (1: TalkException e),
  4274. bool isUseridAvailable(
  4275. 2: string userid,
  4276. ) throws (1: TalkException e),
  4277. void notifyRegistrationComplete(
  4278. 2: string udidHash,
  4279. 3: string applicationTypeWithExtensions,
  4280. ) throws (1: TalkException e),
  4281. void updateDeviceInfo(
  4282. 2: string deviceUid,
  4283. 3: DeviceInfo deviceInfo,
  4284. ) throws (1: TalkException e),
  4285. void blockRecommendation(
  4286. 1: i32 reqSeq,
  4287. 2: string id,
  4288. ) throws (1: TalkException e),
  4289. void rejectGroupInvitation(
  4290. 1: i32 reqSeq,
  4291. 2: string groupId,
  4292. ) throws (1: TalkException e),
  4293. void updateCustomModeSettings(
  4294. 2: CustomMode customMode,
  4295. 3: map<string, string> paramMap,
  4296. ) throws (1: TalkException e),
  4297. Room createRoomV2(
  4298. 1: i32 reqSeq,
  4299. 2: list<string> contactIds,
  4300. ) throws (1: TalkException e),
  4301. void noop() throws (1: TalkException e),
  4302. string acquireEncryptedAccessToken(
  4303. 2: FeatureType featureType,
  4304. ) throws (1: TalkException e),
  4305. list<E2EEPublicKey> getE2EEPublicKeysEx(
  4306. 2: bool ignoreE2EEStatus,
  4307. ) throws (1: TalkException e),
  4308. map<string, ContactRegistration> syncContacts(
  4309. 1: i32 reqSeq,
  4310. 2: list<ContactModification> localContacts,
  4311. ) throws (1: TalkException e),
  4312. map<string, Contact> findAndAddContactsByMid(
  4313. 1: i32 reqSeq,
  4314. 2: string mid,
  4315. 3: ContactType type,
  4316. 4: string reference,
  4317. ) throws (1: TalkException e),
  4318. Group findGroupByTicketV2(
  4319. 1: string ticketId,
  4320. ) throws (1: TalkException e),
  4321. void removeFriendRequest(
  4322. 1: FriendRequestDirection direction,
  4323. 2: string midOrEMid,
  4324. ) throws (1: TalkException e),
  4325. PhoneVerificationResult verifyPhoneNumber(
  4326. 2: string sessionId,
  4327. 3: string pinCode,
  4328. 4: string udidHash,
  4329. 5: string migrationPincodeSessionId,
  4330. 6: string oldUdidHash,
  4331. ) throws (1: TalkException e),
  4332. void setNotificationsEnabled(
  4333. 1: i32 reqSeq,
  4334. 2: MIDType type,
  4335. 3: string target,
  4336. 4: bool enablement,
  4337. ) throws (1: TalkException e),
  4338. list<string> getAllContactIds() throws (1: TalkException e),
  4339. string getIdentityIdentifier() throws (1: TalkException e),
  4340. void sendDummyPush() throws (1: TalkException e),
  4341. void inviteFriendsBySms(
  4342. 2: list<string> phoneNumberList,
  4343. ) throws (1: TalkException e),
  4344. TMessageBox getMessageBox(
  4345. 2: string channelId,
  4346. 3: string messageBoxId,
  4347. 4: i32 lastMessagesCount,
  4348. ) throws (1: TalkException e),
  4349. }
  4350. service BuddyManagementService {
  4351. void unregisterBuddy(
  4352. 1: string requestId,
  4353. ) throws (1: TalkException e),
  4354. string sendBuddyContentMessageToMidsAsync(
  4355. 1: string requestId,
  4356. 2: Message msg,
  4357. 3: binary content,
  4358. 4: list<string> mids,
  4359. ) throws (1: TalkException e),
  4360. list<string> getAllBuddyMembers() throws (1: TalkException e),
  4361. list<string> getActiveMemberMidsByBuddyMid(
  4362. 2: string buddyMid,
  4363. ) throws (1: TalkException e),
  4364. UpdateBuddyProfileResult updateBuddyProfileAttributes(
  4365. 1: string requestId,
  4366. 2: map<string, string> attributes,
  4367. 3: QueueingPolicy policy,
  4368. ) throws (1: TalkException e),
  4369. MessageStoreResult storePrivateMessages(
  4370. 1: string requestId,
  4371. 2: list<PrivateBotMessage> privateBotMessages,
  4372. 3: string toMid,
  4373. ) throws (1: TalkException e),
  4374. string updateBuddyProfileImageAsync(
  4375. 1: string requestId,
  4376. 2: binary image,
  4377. 3: QueueingPolicy policy,
  4378. ) throws (1: TalkException e),
  4379. void notifyBuddyBlocked(
  4380. 1: string buddyMid,
  4381. 2: string blockerMid,
  4382. ) throws (1: TalkException e),
  4383. i64 getMemberCountByBuddyMid(
  4384. 2: string buddyMid,
  4385. ) throws (1: TalkException e),
  4386. bool isBuddyOnAirByMid(
  4387. 2: string buddyMid,
  4388. ) throws (1: TalkException e),
  4389. void commitPrivateMessages(
  4390. 1: string requestId,
  4391. 2: string privateMessageStoreRequestId,
  4392. 3: QueueingPolicy policy,
  4393. ) throws (1: TalkException e),
  4394. void commitPublicMessagesToMids(
  4395. 1: string requestId,
  4396. 2: string publicMessageStoreRequestId,
  4397. 3: list<string> toMids,
  4398. 4: QueueingPolicy policy,
  4399. ) throws (1: TalkException e),
  4400. void addBuddyMember(
  4401. 1: string requestId,
  4402. 2: string userMid,
  4403. ) throws (1: TalkException e),
  4404. SendBuddyMessageResult linkAndSendBuddyContentMessageToMids(
  4405. 1: string requestId,
  4406. 2: Message msg,
  4407. 3: string sourceContentId,
  4408. 4: list<string> mids,
  4409. 5: bool usePermanent,
  4410. ) throws (1: TalkException e),
  4411. list<SendBuddyMessageResult> storeMessages(
  4412. 1: list<string> requestIds,
  4413. 2: list<BuddyMessageRequest> messageRequests,
  4414. ) throws (1: TalkException e),
  4415. SendBuddyMessageResult storeMessage(
  4416. 1: string requestId,
  4417. 2: BuddyMessageRequest messageRequest,
  4418. ) throws (1: TalkException e),
  4419. string registerBuddy(
  4420. 2: string buddyId,
  4421. 3: string searchId,
  4422. 4: string displayName,
  4423. 5: string statusMeessage,
  4424. 6: binary picture,
  4425. 7: map<string, string> settings,
  4426. ) throws (1: TalkException e),
  4427. UnregisterBuddyResult getUnregisterBuddyResult(
  4428. 1: string unregisterBuddyRequestId,
  4429. 2: string buddyMid,
  4430. ) throws (1: TalkException e),
  4431. void updateBuddySearchId(
  4432. 1: string requestId,
  4433. 2: string searchId,
  4434. ) throws (1: TalkException e),
  4435. string uploadBuddyContent(
  4436. 2: ContentType contentType,
  4437. 3: binary content,
  4438. ) throws (1: TalkException e),
  4439. UpdateBuddyProfileResult updateBuddyProfileImage(
  4440. 1: string requestId,
  4441. 2: binary image,
  4442. 3: QueueingPolicy policy,
  4443. ) throws (1: TalkException e),
  4444. SendBuddyMessageResult sendBuddyMessageToAll(
  4445. 1: string requestId,
  4446. 2: Message msg,
  4447. ) throws (1: TalkException e),
  4448. SendBuddyMessageResult commitSendMessagesToAll(
  4449. 1: string requestId,
  4450. 2: list<string> commitRequestIdList,
  4451. 3: i32 priority,
  4452. 4: QueueingPolicy policy,
  4453. ) throws (1: TalkException e),
  4454. binary downloadMessageContent(
  4455. 1: string requestId,
  4456. 2: string messageId,
  4457. ) throws (1: TalkException e),
  4458. UpdateBuddyProfileResult updateBuddyProfileRichMenu(
  4459. 1: string requestId,
  4460. 2: QueueingPolicy policy,
  4461. ) throws (1: TalkException e),
  4462. SetBuddyOnAirResult setBuddyOnAir(
  4463. 1: string requestId,
  4464. 2: bool onAir,
  4465. 3: BuddyOnAirLabel label,
  4466. ) throws (1: TalkException e),
  4467. void unblockBuddyMember(
  4468. 1: string requestId,
  4469. 2: string mid,
  4470. ) throws (1: TalkException e),
  4471. SendBuddyMessageResult linkAndSendBuddyContentMessageToAll(
  4472. 1: string requestId,
  4473. 2: Message msg,
  4474. 3: string sourceContentId,
  4475. 4: bool usePermanent,
  4476. ) throws (1: TalkException e),
  4477. void removeBuddyMember(
  4478. 1: string requestId,
  4479. 2: string userMid,
  4480. ) throws (1: TalkException e),
  4481. string commitSendMessagesToMidAsync(
  4482. 1: string requestId,
  4483. 2: list<string> storeMessagesRequestIds,
  4484. 3: QueueingPolicy policy,
  4485. ) throws (1: TalkException e),
  4486. UpdateBuddyProfileResult getUpdateBuddyProfileResult(
  4487. 1: string updateBuddyProfileRequestId,
  4488. ) throws (1: TalkException e),
  4489. void notifyBuddyUnblocked(
  4490. 1: string buddyMid,
  4491. 2: string blockerMid,
  4492. ) throws (1: TalkException e),
  4493. string updateBuddyProfileRichMenuAsync(
  4494. 1: string requestId,
  4495. 2: QueueingPolicy policy,
  4496. ) throws (1: TalkException e),
  4497. BuddyProfile getBuddyProfile() throws (1: TalkException e),
  4498. list<string> getBlockedBuddyMembers() throws (1: TalkException e),
  4499. void commitPublicMessagesToAll(
  4500. 1: string requestId,
  4501. 2: string publicMessageStoreRequestId,
  4502. 3: QueueingPolicy policy,
  4503. ) throws (1: TalkException e),
  4504. string linkAndSendBuddyContentMessageToAllAsync(
  4505. 1: string requestId,
  4506. 2: Message msg,
  4507. 3: string sourceContentId,
  4508. 4: bool usePermanent,
  4509. ) throws (1: TalkException e),
  4510. string sendBuddyContentMessageToAllAsync(
  4511. 1: string requestId,
  4512. 2: Message msg,
  4513. 3: binary content,
  4514. ) throws (1: TalkException e),
  4515. SetBuddyOnAirResult getSetBuddyOnAirResult(
  4516. 1: string setBuddyOnAirRequestId,
  4517. ) throws (1: TalkException e),
  4518. string commitSendMessagesToMidsAsync(
  4519. 1: string requestId,
  4520. 2: list<string> commitRequestIdList,
  4521. 3: list<string> mids,
  4522. 4: i32 priority,
  4523. 5: QueueingPolicy policy,
  4524. ) throws (1: TalkException e),
  4525. string commitSendMessagesToStoredMidsAsync(
  4526. 1: string requestId,
  4527. 2: list<string> commitRequestIdList,
  4528. 3: string storedMidFilename,
  4529. 4: i32 priority,
  4530. 5: QueueingPolicy policy,
  4531. ) throws (1: TalkException e),
  4532. void updateBuddyAdminProfileAttribute(
  4533. 1: string requestId,
  4534. 2: map<string, string> attributes,
  4535. ) throws (1: TalkException e),
  4536. string setBuddyOnAirAsync(
  4537. 1: string requestId,
  4538. 2: bool onAir,
  4539. 3: BuddyOnAirLabel label,
  4540. ) throws (1: TalkException e),
  4541. SendBuddyMessageResult commitSendMessagesToMids(
  4542. 1: string requestId,
  4543. 2: list<string> commitRequestIdList,
  4544. 3: list<string> mids,
  4545. 4: i32 priority,
  4546. 5: QueueingPolicy policy,
  4547. ) throws (1: TalkException e),
  4548. SendBuddyMessageResult sendBuddyContentMessageToAll(
  4549. 1: string requestId,
  4550. 2: Message msg,
  4551. 3: binary content,
  4552. ) throws (1: TalkException e),
  4553. void updateBuddySettings(
  4554. 2: map<string, string> settings,
  4555. ) throws (1: TalkException e),
  4556. void notifyBuddySubscribed(
  4557. 1: string buddyMid,
  4558. 2: string subscriberMid,
  4559. ) throws (1: TalkException e),
  4560. string registerBuddyAdmin(
  4561. 2: string buddyId,
  4562. 3: string searchId,
  4563. 4: string displayName,
  4564. 5: string statusMessage,
  4565. 6: binary picture,
  4566. ) throws (1: TalkException e),
  4567. i64 getBlockerCountByBuddyMid(
  4568. 2: string buddyMid,
  4569. ) throws (1: TalkException e),
  4570. string reissueContactTicket(
  4571. 3: i64 expirationTime,
  4572. 4: i32 maxUseCount,
  4573. ) throws (1: TalkException e),
  4574. ValidateContactsResult validateContacts(
  4575. 2: list<string> userMids,
  4576. ) throws (1: TalkException e),
  4577. string sendBuddyMessageToMidsAsync(
  4578. 1: string requestId,
  4579. 2: Message msg,
  4580. 3: list<string> mids,
  4581. ) throws (1: TalkException e),
  4582. void unregisterBuddyAsync(
  4583. 1: string requestId,
  4584. ) throws (1: TalkException e),
  4585. string getProfileImageUrlHash(
  4586. 1: string requestId,
  4587. ) throws (1: TalkException e),
  4588. void blockBuddyMember(
  4589. 1: string requestId,
  4590. 2: string mid,
  4591. ) throws (1: TalkException e),
  4592. void sendIndividualEventToAllAsync(
  4593. 1: string requestId,
  4594. 2: string buddyMid,
  4595. 3: NotificationStatus notificationStatus,
  4596. ) throws (1: TalkException e),
  4597. void sendChatCheckedByWatermark(
  4598. 1: i32 seq,
  4599. 2: string mid,
  4600. 3: i64 watermark,
  4601. 4: i8 sessionId,
  4602. ) throws (1: TalkException e),
  4603. void deleteBotProfileImage(
  4604. 1: string requestId,
  4605. ) throws (1: TalkException e),
  4606. SendBuddyMessageResult sendBuddyContentMessageToMids(
  4607. 1: string requestId,
  4608. 2: Message msg,
  4609. 3: binary content,
  4610. 4: list<string> mids,
  4611. ) throws (1: TalkException e),
  4612. void unregisterBuddyAdmin(
  4613. 1: string requestId,
  4614. ) throws (1: TalkException e),
  4615. void commitPublicMessagesToStoredMids(
  4616. 1: string requestId,
  4617. 2: string publicMessageStoreRequestId,
  4618. 3: string storedMidFilename,
  4619. 4: QueueingPolicy policy,
  4620. ) throws (1: TalkException e),
  4621. void removeBuddyMembers(
  4622. 1: string requestId,
  4623. 2: list<string> userMids,
  4624. ) throws (1: TalkException e),
  4625. MessageStoreResult storePublicMessages(
  4626. 1: string requestId,
  4627. 2: list<Message> messages,
  4628. ) throws (1: TalkException e),
  4629. void addBuddyMembers(
  4630. 1: string requestId,
  4631. 2: list<string> userMids,
  4632. ) throws (1: TalkException e),
  4633. MessageCommitResult getMessageCommitResult(
  4634. 1: string messageCommitRequestId,
  4635. ) throws (1: TalkException e),
  4636. BuddyDetail getBuddyDetailByMid(
  4637. 2: string buddyMid,
  4638. ) throws (1: TalkException e),
  4639. void notifyBuddySubscriberUnregistered(
  4640. 1: string buddyMid,
  4641. 2: string userMid,
  4642. ) throws (1: TalkException e),
  4643. string sendBuddyMessageToAllAsync(
  4644. 1: string requestId,
  4645. 2: Message msg,
  4646. ) throws (1: TalkException e),
  4647. SendBuddyMessageResult sendBuddyMessageToMids(
  4648. 1: string requestId,
  4649. 2: Message msg,
  4650. 3: list<string> mids,
  4651. ) throws (1: TalkException e),
  4652. BuddyProfilePopup getBuddyProfilePopup(
  4653. 2: string buddyMid,
  4654. 3: string lang,
  4655. ) throws (1: TalkException e),
  4656. string commitSendMessagesToAllAsync(
  4657. 1: string requestId,
  4658. 2: list<string> commitRequestIdList,
  4659. 3: i32 priority,
  4660. 4: QueueingPolicy policy,
  4661. ) throws (1: TalkException e),
  4662. void notifyBuddySubscriberEmpty(
  4663. 1: string buddyMid,
  4664. 2: string userMid,
  4665. ) throws (1: TalkException e),
  4666. void updateBuddyAdminProfileImage(
  4667. 1: string requestId,
  4668. 2: binary picture,
  4669. ) throws (1: TalkException e),
  4670. string updateBuddyProfileAttributesAsync(
  4671. 1: string requestId,
  4672. 2: map<string, string> attributes,
  4673. 3: QueueingPolicy policy,
  4674. ) throws (1: TalkException e),
  4675. string linkAndSendBuddyContentMessageToMidsAsync(
  4676. 1: string requestId,
  4677. 2: Message msg,
  4678. 3: string sourceContentId,
  4679. 4: list<string> mids,
  4680. 5: bool usePermanent,
  4681. ) throws (1: TalkException e),
  4682. binary downloadProfileImagePreview(
  4683. 1: string requestId,
  4684. ) throws (1: TalkException e),
  4685. binary downloadProfileImage(
  4686. 1: string requestId,
  4687. ) throws (1: TalkException e),
  4688. SendBuddyMessageResult getSendBuddyMessageResult(
  4689. 1: string sendBuddyMessageRequestId,
  4690. ) throws (1: TalkException e),
  4691. bool containsBuddyMember(
  4692. 1: string requestId,
  4693. 2: string userMid,
  4694. ) throws (1: TalkException e),
  4695. i64 getActiveMemberCountByBuddyMid(
  4696. 2: string buddyMid,
  4697. ) throws (1: TalkException e),
  4698. binary downloadMessageContentPreview(
  4699. 1: string requestId,
  4700. 2: string messageId,
  4701. ) throws (1: TalkException e),
  4702. void notifyBuddyRegistered(
  4703. 2: string buddyId,
  4704. 3: string buddyMid,
  4705. 4: string searchId,
  4706. 5: string displayName,
  4707. 6: string statusMessage,
  4708. 7: map<string, string> settings,
  4709. ) throws (1: TalkException e),
  4710. }
  4711. service SpotService {
  4712. SpotPhoneNumberResponse lookupByPhoneNumber(
  4713. 2: string countryAreaCode,
  4714. 3: string phoneNumber,
  4715. ) throws (1: TalkException e),
  4716. SpotNearbyResponse lookupNearby(
  4717. 2: Location location,
  4718. 3: SpotCategory category,
  4719. 4: string query,
  4720. 5: string countryAreaCode,
  4721. ) throws (1: TalkException e),
  4722. }
  4723. service AgeCheckService {
  4724. UserAgeType checkUserAge(
  4725. 2: CarrierCode carrier,
  4726. 3: string sessionId,
  4727. 4: string verifier,
  4728. 5: i32 standardAge,
  4729. ) throws (1: TalkException e),
  4730. AgeCheckDocomoResult checkUserAgeWithDocomo(
  4731. 2: string openIdRedirectUrl,
  4732. 3: i32 standardAge,
  4733. 4: string verifier,
  4734. ) throws (1: TalkException e),
  4735. string retrieveOpenIdAuthUrlWithDocomo() throws (1: TalkException e),
  4736. AgeCheckRequestResult retrieveRequestToken(
  4737. 2: CarrierCode carrier,
  4738. ) throws (1: TalkException e),
  4739. }
  4740. service BuddyService {
  4741. BuddyStatusBar getBuddyStatusBar(
  4742. 1: string buddyMid,
  4743. 2: i64 revision,
  4744. ) throws (1: TalkException e),
  4745. BuddyRichMenuContents getRichMenuContents(
  4746. 1: string buddyMid,
  4747. 2: i64 revision,
  4748. ) throws (1: TalkException e),
  4749. BuddyProfilePopup getBuddyProfilePopup(
  4750. 4: string buddyMid,
  4751. ) throws (1: TalkException e),
  4752. BuddyBanner getPopularBuddyBanner(
  4753. 2: string language,
  4754. 3: string country,
  4755. 4: ApplicationType applicationType,
  4756. 5: string resourceSpecification,
  4757. ) throws (1: TalkException e),
  4758. list<BuddyList> getPopularBuddyLists(
  4759. 2: string language,
  4760. 3: string country,
  4761. ) throws (1: TalkException e),
  4762. list<BuddySearchResult> findBuddyContactsByQuery(
  4763. 2: string language,
  4764. 3: string country,
  4765. 4: string query,
  4766. 5: i32 fromIndex,
  4767. 6: i32 count,
  4768. 7: BuddySearchRequestSource requestSource,
  4769. ) throws (1: TalkException e),
  4770. BuddyNewsView getBuddyNewsView(
  4771. 2: string language,
  4772. 3: string country,
  4773. 4: i64 offset,
  4774. 5: i32 limit,
  4775. ) throws (1: TalkException e),
  4776. list<Contact> getBuddyContacts(
  4777. 2: string language,
  4778. 3: string country,
  4779. 4: string classification,
  4780. 5: i32 fromIndex,
  4781. 6: i32 count,
  4782. ) throws (1: TalkException e),
  4783. list<BuddyCollectionEntry> getBuddyCollectionEntries(
  4784. 2: string language,
  4785. 3: string country,
  4786. 4: i32 collection,
  4787. 5: i32 offset,
  4788. 6: i32 limit,
  4789. ) throws (1: TalkException e),
  4790. i64 getLatestBuddyNewsTimestamp(
  4791. 3: string country,
  4792. ) throws (1: TalkException e),
  4793. BuddyChatBar getBuddyChatBar(
  4794. 1: string buddyMid,
  4795. 2: i64 revision,
  4796. ) throws (1: TalkException e),
  4797. set<string> getCountriesServingOfficialAccountPromotionV2() throws (1: TalkException e),
  4798. BuddyDetail getBuddyDetail(
  4799. 4: string buddyMid,
  4800. ) throws (1: TalkException e),
  4801. BuddyOnAir getBuddyOnAir(
  4802. 4: string buddyMid,
  4803. ) throws (1: TalkException e),
  4804. map<string, i64> getNewlyReleasedBuddyIds(
  4805. 3: string country,
  4806. ) throws (1: TalkException e),
  4807. BuddyCategoryView getBuddyCategoryView(
  4808. 2: string language,
  4809. 3: string country,
  4810. ) throws (1: TalkException e),
  4811. list<string> getCountriesHavingBuddy() throws (1: TalkException e),
  4812. list<Contact> getPromotedBuddyContacts(
  4813. 2: string language,
  4814. 3: string country,
  4815. ) throws (1: TalkException e),
  4816. BuddyTopView getBuddyTopView(
  4817. 2: string language,
  4818. 3: string country,
  4819. ) throws (1: TalkException e),
  4820. }
  4821. service BotService {
  4822. void notifyLeaveGroup(
  4823. 1: string groupMid,
  4824. ) throws (1: TalkException e),
  4825. void notifyLeaveRoom(
  4826. 1: string roomMid,
  4827. ) throws (1: TalkException e),
  4828. BotUseInfo getBotUseInfo(
  4829. 2: string botMid,
  4830. ) throws (1: TalkException e),
  4831. void sendChatCheckedByWatermark(
  4832. 1: i32 seq,
  4833. 2: string mid,
  4834. 3: i64 watermark,
  4835. 4: i8 sessionId,
  4836. ) throws (1: TalkException e),
  4837. }
  4838. service AuthService {
  4839. string normalizePhoneNumber(
  4840. 2: string countryCode,
  4841. 3: string phoneNumber,
  4842. 4: string countryCodeHint,
  4843. ) throws (1: TalkException e),
  4844. void respondE2EELoginRequest(
  4845. 1: string verifier,
  4846. 2: E2EEPublicKey publicKey,
  4847. 3: binary encryptedKeyChain,
  4848. 4: binary hashKeyChain,
  4849. 5: ErrorCode errorCode,
  4850. ) throws (1: TalkException e),
  4851. string confirmE2EELogin(
  4852. 1: string verifier,
  4853. 2: binary deviceSecret,
  4854. ) throws (1: TalkException e),
  4855. void logoutZ() throws (1: TalkException e),
  4856. LoginResult loginZ(
  4857. 2: LoginRequest loginRequest,
  4858. ) throws (1: TalkException e),
  4859. SecurityCenterResult issueTokenForAccountMigrationSettings(
  4860. 2: bool enforce,
  4861. ) throws (1: TalkException e),
  4862. SecurityCenterResult issueTokenForAccountMigration(
  4863. 2: string migrationSessionId,
  4864. ) throws (1: TalkException e),
  4865. string verifyQrcodeWithE2EE(
  4866. 2: string verifier,
  4867. 3: string pinCode,
  4868. 4: ErrorCode errorCode,
  4869. 5: E2EEPublicKey publicKey,
  4870. 6: binary encryptedKeyChain,
  4871. 7: binary hashKeyChain,
  4872. ) throws (1: TalkException e),
  4873. }
Add Comment
Please, Sign In to add comment