TalkApi class
카카오톡 API 호출을 담당하는 클라이언트
Constructors
- TalkApi(Dio _dio)
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
addChannel(
String channelPublicId) → Future - 카카오톡 채널 추가
-
addChannelUrl(
String channelPublicId) → Future< Uri> - 카카오톡 채널을 추가하기 위한 URL 반환. URL 을 브라우저나 웹뷰에서 로드하면 브릿지 웹페이지를 통해 카카오톡 실행
-
channelChatUrl(
String channelPublicId) → Future< Uri> -
channels(
[List< String> ? publicIds]) → Future<Channels> - 사용자가 특정 카카오톡 채널을 추가했는지 확인
-
chatChannel(
String channelPublicId) → Future - 카카오톡 채널 1:1 대화방 실행
-
chatChannelUrl(
String channelPublicId) → Future< Uri> - 카카오톡 채널 1:1 대화방 실행을 위한 URL 반환. URL 을 브라우저나 웹뷰에서 로드하면 브릿지 웹페이지를 통해 카카오톡 실행
-
followChannel(
String channelPublicId) → Future< FollowChannelResult> - 카카오톡 채널 간편 추가하기.
-
friends(
{int? offset, int? limit, FriendOrder? friendOrder, Order? order, FriendsContext? context}) → Future< Friends> - 카카오톡 친구 목록 가져오기
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
profile(
) → Future< TalkProfile> - 카카오톡 프로필 가져오기
-
sendCustomMemo(
{required int templateId, Map< String, String> ? templateArgs}) → Future<void> - 카카오디벨로퍼스에서 생성한 서비스만의 커스텀 메시지 템플릿을 사용하여, 카카오톡의 나와의 채팅방으로 메시지 전송
-
sendCustomMessage(
{required List< String> receiverUuids, required int templateId, Map<String, String> ? templateArgs}) → Future<MessageSendResult> - 카카오디벨로퍼스에서 생성한 서비스만의 커스텀 메시지 템플릿을 사용하여, 조회한 친구를 대상으로 카카오톡으로 메시지 전송
-
sendDefaultMemo(
DefaultTemplate template) → Future< void> - 기본 템플릿을 이용하여, 카카오톡의 나와의 채팅방으로 메시지 전송
-
sendDefaultMessage(
{required List< String> receiverUuids, required DefaultTemplate template}) → Future<MessageSendResult> - 기본 템플릿을 이용하여, 조회한 친구를 대상으로 카카오톡으로 메시지 전송
-
sendScrapMemo(
{required String url, int? templateId, Map< String, String> ? templateArgs}) → Future<void> - 지정된 URL 을 스크랩하여, 카카오톡의 나와의 채팅방으로 메시지 전송
-
sendScrapMessage(
{required List< String> receiverUuids, required String url, int? templateId, Map<String, String> ? templateArgs}) → Future<MessageSendResult> - 지정된 URL 을 스크랩하여, 조회한 친구를 대상으로 카카오톡으로 메시지 전송
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited