Package com.kakao.sdk.partner.talk

파트너용 카카오톡 채널, 카카오톡 소셜, 카카오톡 메시지 API 패키지
Partner package for the Kakao Talk Channel, Kakao Talk Social, Kakao Talk Message APIs

파트너용 카카오톡 채널, 카카오톡 소셜, 카카오톡 메시지 API 패키지
Partner package for the Kakao Talk Channel, Kakao Talk Social, Kakao Talk Message APIs

Functions

Link copied to clipboard
fun RxTalkApiClient.chatList(filters: List<ChatFilter>? = null, offset: Int? = null, limit: Int? = null, order: Order? = null): Single<Chats>
fun TalkApiClient.chatList(filters: List<ChatFilter>? = null, offset: Int? = null, limit: Int? = null, order: Order? = null, callback: (chats: Chats?, error: Throwable?) -> Unit)

채팅방 목록 가져오기
Retrieve list of chats

Link copied to clipboard
fun RxTalkApiClient.chatMembers(chatId: Long, friendsOnly: Boolean? = null, includeProfile: Boolean? = null, token: Long? = null): Single<ChatMembers>
fun TalkApiClient.chatMembers(chatId: Long, friendsOnly: Boolean? = null, includeProfile: Boolean? = null, token: Long? = null, callback: (chatMembers: ChatMembers?, error: Throwable?) -> Unit)

채팅방 멤버 가져오기
Retrieve list if chat members

Link copied to clipboard
fun TalkApiClient.friendsForPartner(context: PartnerFriendsContext?, callback: (friends: Friends<PartnerFriend>?, error: Throwable?) -> Unit)
fun RxTalkApiClient.friendsForPartner(friendFilter: FriendFilter? = null, friendOrder: FriendOrder? = null, offset: Int? = null, limit: Int? = null, order: Order? = null, countryCodes: List<String>? = null): Single<Friends<PartnerFriend>>
fun TalkApiClient.friendsForPartner(friendFilter: FriendFilter? = null, friendOrder: FriendOrder? = null, offset: Int? = null, limit: Int? = null, order: Order? = null, countryCodes: List<String>? = null, callback: (friends: Friends<PartnerFriend>?, error: Throwable?) -> Unit)

친구 목록 가져오기
Retrieve list of friends

Link copied to clipboard
fun RxTalkApiClient.sendCustomMessageForPartner(receiverUuids: List<String>, templateId: Long, templateArgs: Map<String, String>? = null): Single<PartnerMessageSendResult>
fun TalkApiClient.sendCustomMessageForPartner(receiverUuids: List<String>, templateId: Long, templateArgs: Map<String, String>? = null, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

사용자 정의 템플릿으로 메시지 보내기
Send message with custom template

Link copied to clipboard
fun RxTalkApiClient.sendCustomMessageToChats(receiverChatIds: List<Long>, templateId: Long, templateArgs: Map<String, String>? = null): Single<PartnerMessageSendResult>
fun TalkApiClient.sendCustomMessageToChats(receiverChatIds: List<Long>, templateId: Long, templateArgs: Map<String, String>? = null, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

채팅방에 사용자 정의 템플릿으로 메시지 보내기
Send message with custom template to chats

Link copied to clipboard
fun RxTalkApiClient.sendDefaultMessageForPartner(receiverUuids: List<String>, template: DefaultTemplate): Single<PartnerMessageSendResult>
fun TalkApiClient.sendDefaultMessageForPartner(receiverUuids: List<String>, template: DefaultTemplate, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

기본 템플릿으로 메시지 보내기
Send message with default template

Link copied to clipboard
fun RxTalkApiClient.sendDefaultMessageToChats(receiverChatIds: List<Long>, template: DefaultTemplate): Single<PartnerMessageSendResult>
fun TalkApiClient.sendDefaultMessageToChats(receiverChatIds: List<Long>, template: DefaultTemplate, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

채팅방에 기본 템플릿으로 메시지 보내기
Send message with default template to chats

Link copied to clipboard
fun RxTalkApiClient.sendScrapMessageForPartner(receiverUuids: List<String>, requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null): Single<PartnerMessageSendResult>
fun TalkApiClient.sendScrapMessageForPartner(receiverUuids: List<String>, requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

스크랩 메시지 보내기
Send scrape message

Link copied to clipboard
fun RxTalkApiClient.sendScrapMessageToChats(receiverChatIds: List<Long>, requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null): Single<PartnerMessageSendResult>
fun TalkApiClient.sendScrapMessageToChats(receiverChatIds: List<Long>, requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null, callback: (messageSendResult: PartnerMessageSendResult?, error: Throwable?) -> Unit)

채팅방에 스크랩 메시지 보내기
Send scrape message to chats