RxTalkApiClient

class RxTalkApiClient(api: RxTalkApi = ApiFactory.rxKapiWithOAuth.create(RxTalkApi::class.java), appKeyApi: AppKeyRxTalkApi = ApiFactory.rxKapi.create(AppKeyRxTalkApi::class.java), authOperations: RxAuthOperations = RxAuthOperations.instance)

카카오톡 채널, 카카오톡 소셜, 카카오톡 메시지 API 클라이언트
Client for the Kakao Talk Channel, Kakao Talk Social, Kakao Talk Message APIs

Constructors

Link copied to clipboard
constructor(api: RxTalkApi = ApiFactory.rxKapiWithOAuth.create(RxTalkApi::class.java), appKeyApi: AppKeyRxTalkApi = ApiFactory.rxKapi.create(AppKeyRxTalkApi::class.java), authOperations: RxAuthOperations = RxAuthOperations.instance)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addChannel(context: Context, channelPublicId: String): Single<Unit>

카카오톡 채널 친구 추가
Add Kakao Talk Channel

Link copied to clipboard
fun channelChat(context: Context, channelPublicId: String): Single<Unit>

카카오톡 채널 채팅
Start Kakao Talk Channel chat

Link copied to clipboard
@JvmOverloads
fun channels(publicIds: List<String>? = null): Single<Channels>

카카오톡 채널 관계 조회
Check Kakao Talk Channel relationship

Link copied to clipboard
fun followChannel(context: Context, channelPublicId: String): Single<FollowChannelResult>

카카오톡 채널 간편 추가
Follow Kakao Talk Channel

Link copied to clipboard
@JvmOverloads
fun friends(offset: Int? = null, limit: Int? = null, order: Order? = null, friendOrder: FriendOrder? = null): Single<Friends<Friend>>

카카오톡 친구 목록 조회
Retrieve list of friends

Link copied to clipboard
fun profile(): Single<TalkProfile>

카카오톡 프로필 조회
Retrieve Kakao Talk profile

Link copied to clipboard
@JvmOverloads
fun sendCustomMemo(templateId: Long, templateArgs: Map<String, String>? = null): Completable

나에게 사용자 정의 템플릿으로 메시지 발송
Send message with custom template to me

Link copied to clipboard
@JvmOverloads
fun sendCustomMessage(receiverUuids: List<String>, templateId: Long, templateArgs: Map<String, String>? = null): Single<MessageSendResult>

친구에게 사용자 정의 템플릿으로 메시지 발송
Send message with custom template to friends

Link copied to clipboard
fun sendDefaultMemo(template: DefaultTemplate): Completable

나에게 기본 템플릿으로 메시지 발송
Send message with default template to me

Link copied to clipboard
fun sendDefaultMessage(receiverUuids: List<String>, template: DefaultTemplate): Single<MessageSendResult>

친구에게 기본 템플릿으로 메시지 발송
Send message with default template to friends

Link copied to clipboard
@JvmOverloads
fun sendScrapMemo(requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null): Completable

나에게 스크랩 메시지 발송
Send scrape message to me

Link copied to clipboard
@JvmOverloads
fun sendScrapMessage(receiverUuids: List<String>, requestUrl: String, templateId: Long? = null, templateArgs: Map<String, String>? = null): Single<MessageSendResult>

친구에게 스크랩 메시지 발송
Send scrape message to friends