Talk Api Client
class TalkApiClient(talkApi: TalkApi = ApiFactory.kapiWithOAuth.create(TalkApi::class.java), appKeyTalkApi: AppKeyTalkApi = ApiFactory.kapi.create(AppKeyTalkApi::class.java), applicationInfo: ApplicationInfo = KakaoSdk.applicationContextInfo, contextInfo: ContextInfo = KakaoSdk.applicationContextInfo)
카카오톡 채널, 카카오톡 소셜, 카카오톡 메시지 API 클라이언트
Client for the Kakao Talk Channel, Kakao Talk Social, Kakao Talk Message APIs
Constructors
Link copied to clipboard
constructor(talkApi: TalkApi = ApiFactory.kapiWithOAuth.create(TalkApi::class.java), appKeyTalkApi: AppKeyTalkApi = ApiFactory.kapi.create(AppKeyTalkApi::class.java), applicationInfo: ApplicationInfo = KakaoSdk.applicationContextInfo, contextInfo: ContextInfo = KakaoSdk.applicationContextInfo)
Functions
Link copied to clipboard
카카오톡 채널 친구 추가하기
Add Kakao Talk Channel
Link copied to clipboard
카카오톡 채널 추가 페이지 URL 반환
Returns a URL to add a Kakao Talk Channel as a friend
Link copied to clipboard
Link copied to clipboard
카카오톡 채널 채팅하기
Start Kakao Talk Channel chat
Link copied to clipboard
카카오톡 채널 채팅 페이지 URL 반환
Returns a URL to start a chat with a Kakao Talk Channel
Link copied to clipboard
fun followChannel(context: Context, channelPublicId: String, callback: (result: FollowChannelResult?, error: Throwable?) -> Unit)
카카오톡 채널 간편 추가하기
Follow Kakao Talk Channel
Link copied to clipboard
fun friends(context: FriendsContext?, callback: (friends: Friends<Friend>?, error: Throwable?) -> Unit)
fun friends(offset: Int? = null, limit: Int? = null, order: Order? = null, friendOrder: FriendOrder? = null, callback: (friends: Friends<Friend>?, error: Throwable?) -> Unit)
카카오톡 친구 목록 가져오기
Retrieve list of friends
Link copied to clipboard
카카오톡 프로필 가져오기
Retrieve Kakao Talk profile
Link copied to clipboard
fun sendCustomMessage(receiverUuids: List<String>, templateId: Long, templateArgs: Map<String, String>? = null, callback: (result: MessageSendResult?, error: Throwable?) -> Unit)
친구에게 사용자 정의 템플릿으로 메시지 보내기
Send message with custom template to friends
Link copied to clipboard
나에게 기본 템플릿으로 메시지 보내기
Send message with default template to me
Link copied to clipboard
fun sendDefaultMessage(receiverUuids: List<String>, template: DefaultTemplate, callback: (result: MessageSendResult?, error: Throwable?) -> Unit)
친구에게 기본 템플릿으로 메시지 보내기
Send message with default template to friends