Package com.bytedesk.social.telegram
Class TelegramMessageController
java.lang.Object
com.bytedesk.social.telegram.TelegramMessageController
@RestController
@RequestMapping("/api/v1/telegram")
public class TelegramMessageController
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
sendCustomKeyboard
(String chatId, String text) org.springframework.http.ResponseEntity<String>
sendInlineKeyboard
(String chatId, String text) org.springframework.http.ResponseEntity<String>
sendPhotoMessage
(String chatId, String photoUrl, String caption) org.springframework.http.ResponseEntity<String>
sendSticker
(String chatId, String stickerFileId) org.springframework.http.ResponseEntity<String>
sendTextMessage
(String chatId, String text) org.springframework.http.ResponseEntity<String>
showChatAction
(String chatId, String actionType)
-
Field Details
-
telegramMessageService
-
-
Constructor Details
-
TelegramMessageController
public TelegramMessageController()
-
-
Method Details
-
sendTextMessage
-
sendPhotoMessage
-
sendSticker
-
sendCustomKeyboard
-
sendInlineKeyboard
-
showChatAction
-