Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
카카오톡봇 icône

1.0.2 by justiceHui


Dec 29, 2017

À propos de 카카오톡봇

matt9316, une application bot KakaoTalk justiceHui créé.

<>

1. 앱을 다운로드 한다.

2. 안드로이드 웨어 앱을 다운로드 한다.

3. 앱 내부에 있는 [권한 설정하러 가기]에서 이 앱의 알림 접근을 허용한다.

4. 내장메모리/kbot/response.js를 생성한 뒤 js문법으로 스크립팅한다.

5. 스크립트 작성을 끝낸 뒤, 봇을 킨다.

※스크립트에 오류가 있으면 앱이 종료됩니다. 나중에 고칠 계획입니다.

메시지가 오면 response함수가 호출되고, 매개변수는 다음과 같습니다.

function response(room, msg, sender){

/*

**room - 카톡이 온 방 이름

**msg - 카톡 내용

**sender - 전송자

*/

}

지원 메소드는 다음과 같습니다.

<>

Kakaotalk.replyLast(String str);

-메시지 전송

Kakaotalk.getWeatherXml(String place, String key);

-등록된 key를 이용해 해당 위치의 날씨 출력

-key발급 요청은 http://jhnah917.xyz/kbot/weather_reg.html

Kakaotalk.getHtml(String url);

-HTML파싱

Kakaotalk.translate(String source, String target, String text);

-source언어로 된 text를 target언어로 번역

Kakaotalk.shortUrl(String link);

-단축URL 생성

Kakaotalk.delay(int ms);

-지연

Kakaotalk.getContext();

-컨텍스트 얻어오기

Kakaotalk.info();

-정보 불러오기

Kakaotalk.toast(String str);

-토스트 생성

Kakaotalk.notification(String str);

-노티 띄우기

Kakaotalk.makeFile(String path);

-파일 생성

Kakaotalk.writeFile(String path, String content, boolean bool);

-파일 쓰기

-bool: 이어쓰기 여부

Kakaotalk.readFile(String path)

-파일 읽어오기

Kakaotalk.reload();

-스크립트 리로드

Kakaotalk.Path (메소드 아닙니다.)

-android.os.Environment.getExternalStorageDirectory()

메소드 목록: https://jhnah917.xyz/kbot/method.html

날씨 사용 요청: https://jhnah917.xyz/kbot/weather_reg.html

Quoi de neuf dans la dernière version 1.0.2

Last updated on Dec 29, 2017

버그 수정

Chargement de la traduction...

Informations Application supplémentaires

Dernière version

Demande 카카오톡봇 mise à jour 1.0.2

Telechargé par

Sah Sagar Sah Sagar

Nécessite Android

Android 5.0+

Voir plus

카카오톡봇 Captures d'écran

Charegement du commentaire...
Langues
Abonnez-vous à APKPure
Soyez le premier à avoir accès à la sortie précoce, aux nouvelles et aux guides des meilleurs jeux et applications Android.
Non merci
S'inscrire
Abonné avec succès!
Vous êtes maintenant souscrit à APKPure.
Abonnez-vous à APKPure
Soyez le premier à avoir accès à la sortie précoce, aux nouvelles et aux guides des meilleurs jeux et applications Android.
Non merci
S'inscrire
Succès!
Vous êtes maintenant souscrit à notre newsletter.