Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎯 Goal
Implement AI indicator events.
These are the raw event responses:
UnknownEvent(type=ai_indicator.update, createdAt=Tue Dec 03 19:49:40 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:40.335003754Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.update, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:40.335003754Z, ai_state=AI_STATE_THINKING, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a})
UnknownEvent(type=ai_indicator.update, createdAt=Tue Dec 03 19:49:41 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:41.031277429Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.update, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:41.031277429Z, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a, ai_state=AI_STATE_GENERATING})
UnknownEvent(type=ai_indicator.clear, createdAt=Tue Dec 03 19:49:45 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:45.883025014Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.clear, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:45.883025014Z, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a})
🎉 GIF
Please provide a suitable gif that describes your work on this pull request