Top Level Namespace

Defined Under Namespace

Modules: AccountAuthFactorEapConnectService, AuthService, CallService, ChannelService, Com_linecorp_square_protocol_thrift_common_SquareEmblem, Com_linecorp_square_protocol_thrift_common_SquareJoinMethodType, Com_linecorp_square_protocol_thrift_common_SquareState, Com_linecorp_square_protocol_thrift_common_SquareType, Config, G_a_a0_a_a_a, G_a_a0_a_a_c, G_a_a0_a_a_d, G_a_c_s_a_a_a_a_a, G_a_c_s_a_a_a_a_e, G_a_c_s_a_a_a_a_u, G_a_c_u0_a_a_a_a_r, G_a_c_u0_a_a_a_a_s, G_a_c_u0_a_b_b, G_a_c_u0_a_b_c, G_a_c_u0_a_b_g, G_a_c_u0_a_b_h, G_a_c_u0_a_b_j1, G_a_c_u0_a_b_o1, G_a_c_u0_a_b_t, G_a_c_u0_a_c_b_c, G_a_c_u0_a_d_a, G_a_c_u0_a_d_a0, G_a_c_u0_a_d_a1, G_a_c_u0_a_d_a8, G_a_c_u0_a_d_b1, G_a_c_u0_a_d_b8, G_a_c_u0_a_d_c, G_a_c_u0_a_d_d, G_a_c_u0_a_d_d0, G_a_c_u0_a_d_e0, G_a_c_u0_a_d_e8, G_a_c_u0_a_d_f0, G_a_c_u0_a_d_f1, G_a_c_u0_a_d_g1, G_a_c_u0_a_d_i, G_a_c_u0_a_d_i1, G_a_c_u0_a_d_i8, G_a_c_u0_a_d_j1, G_a_c_u0_a_d_j7, G_a_c_u0_a_d_k, G_a_c_u0_a_d_k0, G_a_c_u0_a_d_m, G_a_c_u0_a_d_m0, G_a_c_u0_a_d_m1, G_a_c_u0_a_d_m8, G_a_c_u0_a_d_n, G_a_c_u0_a_d_n0, G_a_c_u0_a_d_n1, G_a_c_u0_a_d_n8, G_a_c_u0_a_d_o0, G_a_c_u0_a_d_o1, G_a_c_u0_a_d_o7, G_a_c_u0_a_d_p, G_a_c_u0_a_d_p1, G_a_c_u0_a_d_q, G_a_c_u0_a_d_q7, G_a_c_u0_a_d_r1, G_a_c_u0_a_d_r7, G_a_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_a_b_xd, J0_a_e_a_b_xe, J0_a_e_a_b_xf, J0_a_e_a_b_y, J0_a_e_a_b_y8, J0_a_e_a_b_ya, J0_a_e_a_b_yc, J0_a_e_a_b_z8, J0_a_e_a_b_zc, J0_a_e_a_b_ze, J0_a_e_a_b_zf, Linerb, PrimaryAccountInitService, SecondaryQrCodeLoginPermit, SecondaryQrCodeLoginPermitNoticeService, SecondaryQrcodeLoginService, TalkService Classes: AbuseMessage, AbuseReport, AcceptChatInvitationByTicketRequest, AcceptChatInvitationByTicketResponse, AcceptChatInvitationRequest, AcceptChatInvitationResponse, AccountEapConnectException, AccountIdentifier, AcquireOACallRouteRequest, AcquireOACallRouteResponse, AddFriendData, AddProductToSubscriptionSlotRequest, AddProductToSubscriptionSlotResponse, AdditionalInfoItem, Admission, AgeCheckDocomoResult, AgeCheckRequestResult, AnalyticsInfo, ApplicationVersionRange, ApprovalValue, ApprovedChannelInfo, ApprovedChannelInfos, AuthException, AuthKeyExchangeRequest, AuthKeyExchangeResponse, AuthLoginRequest, AuthLoginResponse, AuthSessionRequest, AutoSuggestionShowcaseRequest, AutoSuggestionShowcaseResponse, AutocompleteCandidate, AutocompleteRequest, AutocompleteResult, AvatarProfile, Balance, BalanceInfo, BalanceShortcut, BalanceShortcutInfo, BankBranchInfo, BankInfo, BeaconBackgroundNotification, BeaconCondition, BeaconLayerInfoAndActions, BeaconQueryResponse, BeaconTouchActions, BinaryScenarioActionResult, BirthdayGiftAssociationVerifyRequest, BirthdayGiftAssociationVerifyResponse, BleNotificationReceivedTrigger, BleProduct, BotException, BrowsingHistory, BuddyChatBar, BuddyChatBarItem, BuddyDetail, BuddyDetailWithPersonal, BuddyLive, BuddyOnAir, BuddyOnAirUrls, BuddyPersonalDetail, BuddyRichMenuChatBarItem, BuddySearchResult, BuddyStatusBar, BuddyWebChatBarItem, BuddyWidget, BuddyWidgetListCharBarItem, BulkGetRequest, ButtonActionData, BuyMustbuyRequest, CallHost, CallRoute, CancelChatInvitationRequest, CancelChatInvitationResponse, CancelPinCodeRequest, CancelPinCodeResponse, Category, CategoryItem, ChangeSubscriptionRequest, ChangeSubscriptionResponse, ChannelDomain, ChannelDomains, ChannelException, ChannelIdWithLastUpdated, ChannelInfo, ChannelNotificationSetting, ChannelProvider, ChannelSettings, ChannelToken, Chat, ChatEffectMeta, ChatEffectMetaContent, ChatRoomAnnouncement, ChatRoomAnnouncementContentMetadata, ChatRoomAnnouncementContents, ChatRoomBGM, Chatapp, ChatappException, CheckOperationResult, CheckPinCodeVerifiedRequest, CheckQrCodeVerifiedRequest, ClientNetworkStatus, CodeValue, Coin, CoinHistory, CoinHistoryCondition, CoinHistoryResult, CoinPayLoad, CoinProductItem, CoinPurchaseReservation, CoinUseReservation, CoinUseReservationItem, Configurations, ConnectDeviceOperation, ConnectEapAccountRequest, ConnectEapAccountResponse, Contact, ContactCalendarEvent, ContactCalendarEvents, ContactEntry, ContactModification, ContactRegistration, CreateChatRequest, CreateChatResponse, CreateGroupCallUrlRequest, CreateGroupCallUrlResponse, CreatePinCodeRequest, CreatePinCodeResponse, CreateQrCodeRequest, CreateQrCodeResponse, CreateQrSessionRequest, CreateQrSessionResponse, CreatedPaymentUserInfoEx, CurrencyProperty, CustomizeImageTextRequest, CustomizeImageTextResponse, DataUserBot, DeleteGroupCallUrlRequest, DeleteGroupCallUrlResponse, DeleteOtherFromChatRequest, DeleteOtherFromChatResponse, DeleteSelfFromChatRequest, DeleteSelfFromChatResponse, DemographicType, DetailedProductList, Device, DeviceInfo, DeviceLinkRequest, DeviceLinkResponse, DeviceUnlinkRequest, DeviceUnlinkResponse, DisconnectAction, DisconnectEapAccountRequest, DisconnectEapAccountResponse, DisplayMoney, DynamicHomeNativeRequest, E2EEGroupSharedKey, E2EENegotiationResult, E2EEPublicKey, EapLogin, EmailConfirmationResult, EmailConfirmationSession, EncryptedPassword, EstablishE2EESessionRequest, EstablishE2EESessionResponse, ExchangeEncryptionKeyRequest, ExchangeEncryptionKeyResponse, ExecuteOnetimeScenarioOperation, ExtendedMessageBox, ExtendedProfile, ExtendedProfileBirthday, Extra, FetchOperationsRequest, FetchOperationsResponse, FindChatByTicketRequest, FindChatByTicketResponse, FindRestorablePlanRequest, FindRestorablePlanResponse, FollowBuddyDetail, FollowMid, FollowProfile, FollowRequest, FriendRequest, FriendRequestsInfo, GattReadAction, GattWriteAction, GeoAddressItem, Geolocation, GeolocationAccuracy, GetAcctVerifMethodResponse, GetAllChatMidsRequest, GetAllChatMidsResponse, GetBalanceRequest, GetBalanceResponse, GetBalanceSummaryRequestV2, GetBalanceSummaryResponseV2, GetBleDeviceRequest, GetBrowsingHistoryRequest, GetBrowsingHistoryResponse, GetBuddyChatBarRequest, GetBuddyLiveRequest, GetBuddyLiveResponse, GetBuddyStatusBarV2Request, GetChatappRequest, GetChatappResponse, GetChatsRequest, GetChatsResponse, GetCoinHistoryRequest, GetCoinHistoryResponse, GetCoinProductsRequest, GetCoinProductsResponse, GetContactsV2Request, GetContactsV2Response, GetCountryInfoResponse, GetEncryptedIdentityV3Response, GetFollowersRequest, GetFollowersResponse, GetFollowingsRequest, GetFollowingsResponse, GetGroupCallUrlInfoRequest, GetGroupCallUrlInfoResponse, GetGroupCallUrlsRequest, GetGroupCallUrlsResponse, GetHomeFlexContentRequest, GetHomeFlexContentResponse, GetHomeServiceListRequest, GetHomeServiceListResponse, GetLoginActorContextRequest, GetLoginActorContextResponse, GetModuleRequest, GetModuleResponse, GetModulesRequest, GetModulesRequestV2, GetModulesResponse, GetModulesResponseV2, GetMyChatappsRequest, GetMyChatappsResponse, GetOldSticonMappingRequest, GetOldSticonMappingResponse, GetPhoneVerifMethodResponse, GetPredefinedScenarioSetsRequest, GetPredefinedScenarioSetsResponse, GetPreviousMessagesV2Request, GetProductRequest, GetProductResponse, GetProductSummariesInSubscriptionSlotsRequest, GetProductSummariesInSubscriptionSlotsResponse, GetRecommendOaRequest, GetRecommendOaResponse, GetRecommendationRequest, GetRecommendationResponse, GetRequest, GetReservationRequest, GetReservationResponse, GetReservationsRequest, GetReservationsResponse, GetResourceFileReponse, GetResourceFileRequest, GetSecondAuthMethodResponse, GetSmartChannelRecommendationsRequest, GetSmartChannelRecommendationsResponse, GetSquareBotRequest, GetSquareBotResponse, GetStudentInformationRequest, GetStudentInformationResponse, GetSubscriptionPlansRequest, GetSubscriptionPlansResponse, GetSubscriptionStatusRequest, GetSubscriptionStatusResponse, GetSuggestDictionarySettingRequest, GetSuggestDictionarySettingResponse, GetSuggestResourcesV2Request, GetSuggestResourcesV2Response, GetTagClusterFileRequest, GetTagClusterFileResponse, GetTotalCoinBalanceRequest, GetTotalCoinBalanceResponse, GetUserProfileResponse, Group, GroupCall, GroupCallRoute, GroupCallUrl, GroupExtra, GroupPreference, HomeCategory, HomeException, HomeService, HomeTabPlacement, IdentifierConfirmationRequest, IdentityCredential, IdentityCredentialRequest, IdentityCredentialResponse, ImageTextProperty, ImageTextRequestEntry, ImmediateTrigger, InstallAppData, InstantNews, InviteIntoChatRequest, InviteIntoChatResponse, IpassTokenProperty, IssueBirthdayGiftTokenRequest, IssueBirthdayGiftTokenResponse, IssueWebAuthDetailsForAcctVerifResponse, IssueWebAuthDetailsForSecondAuthResponse, JoinChatByCallUrlRequest, JoinChatByCallUrlResponse, JumpUrlData, KeywordInfo, LIFFMenuColor, LIFFMenuColorSetting, LatestProductsByAuthorRequest, LiffAdvertisingId, LiffChannelException, LiffChatContext, LiffContext, LiffDeviceSetting, LiffErrorConsentRequired, LiffErrorPayload, LiffException, LiffNoneContext, LiffSquareChatContext, LiffView, LiffViewRequest, LiffViewResponse, LiffWebLoginRequest, LiffWebLoginResponse, LineClient, LinePayAccountInfo, LinePayInfo, LinePayPromotion, LinePointInfo, Locale, Location, Message, MessageBoxList, MessageBoxListRequest, MessageBoxV2MessageId, MigratePrimaryResponse, Module, ModuleAggregationResponse, ModuleAggregationResponseV2, ModuleResponse, MoneyRange, MoretabRecommend, MoretabRecommendAccount, MyChatapp, MyRank, MyRankBenefit, NearbyEntry, NotFound, NotModified, NoteStatus, Notice, NotifyDeviceConnectionRequest, NotifyDeviceConnectionResponse, NotifyDeviceDisconnectionRequest, NotifyDeviceDisconnectionResponse, NotifyEnteringRequest, NotifyEnteringResponse, NotifyScenarioExecutedRequest, NotifyScenarioExecutedResponse, OACallRoute, OpenSessionRequest, OpenSessionResponse, Operation, OperationAction, PaidCallAdCountry, PaidCallAdResult, PaidCallBalance, PaidCallCurrencyExchangeRate, PaidCallDialing, PaidCallHistory, PaidCallHistoryResult, PaidCallMetadataResult, PaidCallRedeemResult, PaidCallResponse, PaidCallUserRate, PayInvitationInfo, PayInvitationUserInfo, PayInvoiceSetting, PayStatusInfo, PayWithdrawStaticMenu, PaymentAddressSearchResult, PaymentAuthenticationInfo, PaymentAvailableAuth, PaymentCacheableSettings, PaymentCancellationInfo, PaymentCardValidationRule, PaymentCountrySettingInfoEx, PaymentCountrySettingLimitInfo, PaymentCountrySettingMenu, PaymentCybsInfo, PaymentDetailInfo, PaymentEligibleFriendStatus, PaymentException, PaymentFlowTypeCustom, PaymentFlowTypeCustomElement, PaymentFlowTypeInfo, PaymentLineCardInfo, PaymentLineCardIssueForm, PaymentMyCode, PaymentPointInfo, PaymentRegionalInfo, PaymentRequiredAgreementsInfo, PaymentReservationResult, PaymentSettingsMenuInfo, PaymentSettingsMenuInfoAccount, PaymentTTSPinCodeVerificationInfo, PaymentTosUrlBundle, PaymentTradeInfo, PaymentTransactionHistoryInfo, PaymentTransferRequest, PaymentTransferTargetInfo, PaymentUrlInfo, PaymentUserInfoDigest, PaymentUserJobInfo, PeerExtra, PendingAgreementsResponse, PhoneVerificationResult, PlaceSearchInfo, PointException, PollApi, PollRecv, PortalSearchCollection, PortalSearchSummary, Price, ProductDetail, ProductList, ProductListByAuthorRequest, ProductProperty, ProductSearchSummary, ProductSubscriptionProperty, ProductSummary, ProductSummaryForAutoSuggest, ProductSummaryList, ProductTypeSummary, ProductValidationRequest, ProductValidationResult, ProductValidationScheme, ProductWishProperty, Profile, ProfileContent, PromotionBuddyInfo, PromotionDetail, PromotionInfo, PromotionInstallInfo, PromotionMissionInfo, ProximityMatchCandidateEntry, ProximityMatchCandidateResult, PurchaseOrder, PurchaseOrderResponse, PurchaseRecord, PurchaseRecordList, PurchaseSubscriptionRequest, PurchaseSubscriptionResponse, PushRecvReport, QrCodeLoginRequest, QrCodeLoginResponse, RSAEncryptedLoginInfo, RSAEncryptedPassword, RSAKey, RegisterPrimaryResponse, RegisterWithPhoneNumberResult, RegisterWithSnsIdResult, ReissueChatTicketRequest, ReissueChatTicketResponse, RejectChatInvitationRequest, RejectChatInvitationResponse, RemoveFollowerRequest, RemoveProductFromSubscriptionSlotRequest, RemoveProductFromSubscriptionSlotResponse, RequestTokenResponse, Reservation, ReturnTicketRequest, ReturnTicketResponse, RevokeTokenRequest, RingbackTone, Ringtone, Room, Rssi, SIMInfo, SaveStudentInformationRequest, SaveStudentInformationResponse, Scenario, ScenarioAction, ScenarioActionResult, ScenarioResult, ScenarioSet, ScenarioTrigger, SearchCommonParameter, SearchException, SearchItemUnion, SearchPagingParameter, SearchResult, SearchResultCollection, SearchResultItem, SearchSection, SecondaryQrCodeException, SecurityCenterResult, SendPinCodeForPhoneResponse, SendPostbackRequest, ServiceItem, SetPasswordResponse, Settings, SettingsException, ShareTargetPickerResultRequest, ShopException, ShopFilter, ShopUpdates, ShortcutButton, ShortcutButtonAction, ShortcutItem, ShowcaseV3, SimCard, SleepAction, SmartChannelRecommendation, SnsIdUserStatus, SnsProfile, SocialLogin, SpotItem, Square, SquareBot, SquareInfo, SquareJoinMethod, SquareJoinMethodValue, SquareStatus, StickerIdRange, StickerProperty, StickerSummary, SticonProductMapping, SticonProperty, SticonSummary, StopNotificationAction, StudentInformation, SubscriptionPlan, SubscriptionStatus, SuggestDictionarySetting, SuggestResource, TMessageReadRange, TMessageReadRangeEntry, TalkApi, TalkException, TestCallRoute, ThRegionalInfo, ThemeProperty, ThemeSummary, ThingsDevice, ThingsException, ThingsOperation, Ticket, TicketException, TransferRequestInfo, TransferRequestReceivedInfo, UIInfo, UnfollowRequest, UnregisterAvailabilityInfo, UpdateChatRequest, UpdateChatResponse, UpdateGroupCallUrlAttribute, UpdateGroupCallUrlRequest, UpdateGroupCallUrlResponse, UpdateProfileAttributesRequest, UserAuthStatus, UserDevice, UserEvent, UserPhoneNumber, UserProfile, ValidateProfileResponse, VerificationSessionData, VerifyAccountUsingPwdResponse, VerifyCertificateRequest, VerifyEapLoginRequest, VerifyEapLoginResponse, VerifyPhoneResponse, VerifyPinCodeRequest, VerifyPinCodeResponse, VerifyQrCodeRequest, VerifyQrCodeResponse, VerifySocialLoginResponse, VoidScenarioActionResult, WalletException, WebAuthDetails, WebLoginRequest, WebLoginResponse, YellowpageItem

Instance Method Summary collapse

Instance Method Details

#api_acceptChatInvitation(chatMid:) ⇒ Object



51
52
53
54
55
56
# File 'lib/linerb/api/talkApi.rb', line 51

def api_acceptChatInvitation(chatMid:)
  obj = AcceptChatInvitationRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  @client.acceptChatInvitation(obj)
end

#api_acceptChatInvitationByTicket(chatMid:, ticketId:) ⇒ Object



58
59
60
61
62
63
64
# File 'lib/linerb/api/talkApi.rb', line 58

def api_acceptChatInvitationByTicket(chatMid:, ticketId:)
  obj = AcceptChatInvitationByTicketRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  obj::ticketId = ticketId
  @client.acceptChatInvitationByTicket(obj)
end

#api_blockContact(id:) ⇒ Object



43
44
45
# File 'lib/linerb/api/talkApi.rb', line 43

def api_blockContact(id:)
  @client.blockContact(0, id)
end

#api_cancelChatInvitation(chatMid:, targetUserMids:) ⇒ Object



70
71
72
73
74
75
76
# File 'lib/linerb/api/talkApi.rb', line 70

def api_cancelChatInvitation(chatMid:, targetUserMids:)
  obj = CancelChatInvitationRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  obj::targetUserMids = "[#{targetUserMids}]"
  @client.cancelChatInvitation(obj)
end

#api_createChatRoomAnnouncement(chatRoomMid:, type:, contents:) ⇒ Object



12
13
14
# File 'lib/linerb/api/talkApi.rb', line 12

def api_createChatRoomAnnouncement(chatRoomMid:, type:, contents:)
  @client.createChatRoomAnnouncement(0, chatRoomMid, type, contents)
end

#api_createRoomV2(contactIds:) ⇒ Object



16
17
18
19
# File 'lib/linerb/api/talkApi.rb', line 16

def api_createRoomV2(contactIds:)
  contactIds = "[#{contactIds}]"
  @client.createRoomV2(0, contactIds)
end

#api_deleteOtherFromChat(chatMid:, targetUserMids:) ⇒ Object



78
79
80
81
82
83
84
# File 'lib/linerb/api/talkApi.rb', line 78

def api_deleteOtherFromChat(chatMid:, targetUserMids:)
  obj = DeleteOtherFromChatRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  obj::targetUserMids = "[#{targetUserMids}]"
  @client.deleteOtherFromChat(obj)
end

#api_deleteSelfFromChat(chatMid:, **params) ⇒ Object



86
87
88
89
90
91
92
93
94
95
# File 'lib/linerb/api/talkApi.rb', line 86

def api_deleteSelfFromChat(chatMid:, **params)
  obj = DeleteSelfFromChatRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  obj::lastSeenMessageDeliveredTime = params[:lastSeenMessageDeliveredTime]
  obj::lastSeenMessageId = params[:lastSeenMessageId]
  obj::lastMessageDeliveredTime = params[:lastMessageDeliveredTime]
  obj::lastMessageId = params[:lastMessageId]
  @client.deleteSelfFromChat(obj)
end

#api_findAndAddContactsByMid(mid:, type:, reference:) ⇒ Object



103
104
105
# File 'lib/linerb/api/talkApi.rb', line 103

def api_findAndAddContactsByMid(mid:, type:, reference:)
  @client.findAndAddContactsByMid(0, mid, type, reference)
end

#api_findChatByTicket(ticketId:) ⇒ Object



97
98
99
100
101
# File 'lib/linerb/api/talkApi.rb', line 97

def api_findChatByTicket(ticketId:)
  obj = FindChatByTicketRequest.new
  obj::ticketId = ticketId
  @client.findChatByTicket(0, obj)
end

#api_getChats(chatMids:, **params) ⇒ Object



130
131
132
133
134
135
136
# File 'lib/linerb/api/talkApi.rb', line 130

def api_getChats(chatMids:, **params)
  obj = GetChatsRequest.new
  obj::chatMids = "[#{chatMids}]"
  obj::withMembers = params[:withMembers]
  obj::withInvitees = params[:withInvitees]
  @client.getChats(obj)
end

#api_getContact(id:) ⇒ Object



47
48
49
# File 'lib/linerb/api/talkApi.rb', line 47

def api_getContact(id:)
  @client.getContact(id)
end

#api_getProfile(syncReason:) ⇒ Object



66
67
68
# File 'lib/linerb/api/talkApi.rb', line 66

def api_getProfile(syncReason:)
  @client.getProfile(syncReason)
end

#api_inviteIntoChat(chatMid:, targetUserMids:) ⇒ Object



107
108
109
110
111
112
113
# File 'lib/linerb/api/talkApi.rb', line 107

def api_inviteIntoChat(chatMid:, targetUserMids:)
  obj = InviteIntoChatRequest.new
  obj::reqSeq = 0
  obj::chatMid = chatMid
  obj::targetUserMids = "[#{targetUserMids}]"
  @client.inviteIntoChat(obj)
end

#api_reissueChatTicket(groupMid:) ⇒ Object



115
116
117
118
119
120
# File 'lib/linerb/api/talkApi.rb', line 115

def api_reissueChatTicket(groupMid:)
  obj = ReissueChatTicketRequest.new
  obj::reqSeq = 0
  obj::groupMid = groupMid
  @client.updateChat(obj)
end

#api_removeAllMessages(lastMessageId:) ⇒ Object



39
40
41
# File 'lib/linerb/api/talkApi.rb', line 39

def api_removeAllMessages(lastMessageId:)
  @client.removeAllMessages(0, lastMessageId)
end

#api_sendChatChecked(chatMid:, lastMessageId:, sessionId:) ⇒ Object



8
9
10
# File 'lib/linerb/api/talkApi.rb', line 8

def api_sendChatChecked(chatMid:, lastMessageId:, sessionId:)
  @client.sendChatChecked(0, chatMid, lastMessageId, sessionId)
end

#api_sendChatRemove(chatMid:, lastMessageId:, sessionId:) ⇒ Object



35
36
37
# File 'lib/linerb/api/talkApi.rb', line 35

def api_sendChatRemove(chatMid:, lastMessageId:, sessionId:)
  @client.sendChatRemoved(0, chatMid, lastMessageId, sessionId)
end

#api_sendMessage(text:, to:, **params) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/linerb/api/talkApi.rb', line 27

def api_sendMessage(text:, to:, **params)
  obj = Message.new
  obj::text = text
  obj::to = to
  obj::contentType = params[:contentType]
  @client.sendMessage(@reqSeq += 1, obj)
end

#api_updateChat(chat:, updatedAttribute:) ⇒ Object



122
123
124
125
126
127
128
# File 'lib/linerb/api/talkApi.rb', line 122

def api_updateChat(chat:, updatedAttribute:)
  obj = UpdateChatRequest.new
  obj::reqSeq = 0
  obj::chat = chat
  obj::updatedAttribute = updatedAttribute
  @client.updateChat(obj)
end

#api_updateProfileAttributes(profileAttributes:) ⇒ Object



21
22
23
24
25
# File 'lib/linerb/api/talkApi.rb', line 21

def api_updateProfileAttributes(profileAttributes:)
  obj = UpdateProfileAttributesRequest.new
  obj::profileAttributes = profileAttributes
  @client.updateProfileAttributes(0, obj)
end