Uses of Class
com.bytedesk.social.telegram.TelegramEntity
Packages that use TelegramEntity
Package
Description
-
Uses of TelegramEntity in com.bytedesk.social.telegram
Methods in com.bytedesk.social.telegram that return TelegramEntityModifier and TypeMethodDescriptionprotected TelegramEntity
TelegramRestService.doSave
(TelegramEntity entity) TelegramRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TelegramEntity entity) Methods in com.bytedesk.social.telegram that return types with arguments of type TelegramEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<TelegramEntity>
TelegramRestService.createSpecification
(TelegramRequest request) protected org.springframework.data.domain.Page<TelegramEntity>
TelegramRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<TelegramEntity> spec, org.springframework.data.domain.Pageable pageable) TelegramRestService.findAllActive()
查找所有未删除的Telegram配置TelegramRepository.findByEnabledTrueAndDeletedFalse()
TelegramRestService.findByTokenAndOrgUid
(String token, String orgUid) TelegramRepository.findByTokenAndOrgUidAndDeletedFalse
(String token, String orgUid) org.springframework.data.domain.Page<TelegramEntity>
TelegramRestService.queryByOrgEntity
(TelegramRequest request) static org.springframework.data.jpa.domain.Specification<TelegramEntity>
TelegramSpecification.search
(TelegramRequest request, AuthService authService) Methods in com.bytedesk.social.telegram with parameters of type TelegramEntityModifier and TypeMethodDescriptionTelegramRestService.convertToExcel
(TelegramEntity entity) TelegramRestService.convertToResponse
(TelegramEntity entity) protected TelegramEntity
TelegramRestService.doSave
(TelegramEntity entity) TelegramRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TelegramEntity entity) void
TelegramEntityListener.onPostPersist
(TelegramEntity telegram) void
TelegramEntityListener.onPostUpdate
(TelegramEntity telegram) Method parameters in com.bytedesk.social.telegram with type arguments of type TelegramEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<TelegramEntity>
TelegramRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<TelegramEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of TelegramEntity in com.bytedesk.social.telegram.config
Methods in com.bytedesk.social.telegram.config that return TelegramEntityModifier and TypeMethodDescriptionprivate TelegramEntity
TelegramDefaultConsumer.getTelegramEntityByBotToken()
根据当前bot token获取对应的Telegram配置Methods in com.bytedesk.social.telegram.config with parameters of type TelegramEntityModifier and TypeMethodDescriptionprivate VisitorRequest
TelegramDefaultConsumer.buildVisitorRequest
(org.telegram.telegrambots.meta.api.objects.Update update, String text, TelegramEntity telegramEntity) 根据Telegram用户信息构建访客请求对象private TelegramDefaultConsumer
TelegramBotService.createBotConsumer
(TelegramEntity telegramEntity) 为每个机器人创建独立的消费者实例private org.telegram.telegrambots.longpolling.BotSession
TelegramBotService.initializeBot
(@NonNull TelegramEntity telegramEntity) 初始化Telegram机器人private void
TelegramDefaultConsumer.processVisitorMessage
(TelegramEntity telegramEntity, org.telegram.telegrambots.meta.api.objects.Update update, String text) 处理访客消息,对接到微语系统中private void
TelegramDefaultConsumer.sendToCustomerService
(org.telegram.telegrambots.meta.api.objects.Update update, String content, VisitorResponse visitor, ThreadProtobuf thread, TelegramEntity telegramEntity) 将Telegram访客消息发送给客服private void
TelegramDefaultConsumer.sendToCustomerService
(org.telegram.telegrambots.meta.api.objects.Update update, String content, VisitorResponse visitor, ThreadProtobuf thread, TelegramEntity telegramEntity, MessageTypeEnum messageType) 将Telegram访客消息发送给客服 -
Uses of TelegramEntity in com.bytedesk.social.telegram.event
Fields in com.bytedesk.social.telegram.event declared as TelegramEntityModifier and TypeFieldDescriptionprivate TelegramEntity
TelegramCreateEvent.telegram
private TelegramEntity
TelegramDeleteEvent.telegram
private TelegramEntity
TelegramEnableEvent.telegram
private TelegramEntity
TelegramUpdateEvent.telegram
Constructors in com.bytedesk.social.telegram.event with parameters of type TelegramEntityModifierConstructorDescriptionTelegramCreateEvent
(TelegramEntity telegram) TelegramDeleteEvent
(TelegramEntity telegram) TelegramEnableEvent
(TelegramEntity telegram, boolean enabled) TelegramUpdateEvent
(TelegramEntity telegram)