github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/chat/utils/dummy_chat_ui.go (about)

     1  package utils
     2  
     3  import (
     4  	"golang.org/x/net/context"
     5  
     6  	"github.com/keybase/client/go/protocol/chat1"
     7  	"github.com/keybase/client/go/protocol/keybase1"
     8  )
     9  
    10  type DummyChatUI struct{}
    11  
    12  var _ chat1.ChatUiInterface = (*DummyChatUI)(nil)
    13  
    14  func (r DummyChatUI) ChatInboxConversation(ctx context.Context, arg chat1.ChatInboxConversationArg) error {
    15  	return nil
    16  }
    17  
    18  func (r DummyChatUI) ChatInboxFailed(ctx context.Context, arg chat1.ChatInboxFailedArg) error {
    19  	return nil
    20  }
    21  
    22  func (r DummyChatUI) ChatInboxUnverified(ctx context.Context, arg chat1.ChatInboxUnverifiedArg) error {
    23  	return nil
    24  }
    25  
    26  func (r DummyChatUI) ChatInboxLayout(ctx context.Context, arg chat1.ChatInboxLayoutArg) error {
    27  	return nil
    28  }
    29  
    30  func (r DummyChatUI) ChatThreadCached(ctx context.Context, arg chat1.ChatThreadCachedArg) error {
    31  	return nil
    32  }
    33  
    34  func (r DummyChatUI) ChatThreadFull(ctx context.Context, arg chat1.ChatThreadFullArg) error {
    35  	return nil
    36  }
    37  
    38  func (r DummyChatUI) ChatThreadStatus(ctx context.Context, arg chat1.ChatThreadStatusArg) error {
    39  	return nil
    40  }
    41  
    42  func (r DummyChatUI) ChatConfirmChannelDelete(ctx context.Context, arg chat1.ChatConfirmChannelDeleteArg) (bool, error) {
    43  	return true, nil
    44  }
    45  
    46  func (r DummyChatUI) ChatSearchHit(ctx context.Context, arg chat1.ChatSearchHitArg) error {
    47  	return nil
    48  }
    49  
    50  func (r DummyChatUI) ChatSearchDone(ctx context.Context, arg chat1.ChatSearchDoneArg) error {
    51  	return nil
    52  }
    53  
    54  func (r DummyChatUI) ChatSearchInboxStart(ctx context.Context, sessionID int) error {
    55  	return nil
    56  }
    57  
    58  func (r DummyChatUI) ChatSearchInboxHit(ctx context.Context, arg chat1.ChatSearchInboxHitArg) error {
    59  	return nil
    60  }
    61  
    62  func (r DummyChatUI) ChatSearchInboxDone(ctx context.Context, arg chat1.ChatSearchInboxDoneArg) error {
    63  	return nil
    64  }
    65  
    66  func (r DummyChatUI) ChatSearchIndexStatus(ctx context.Context, arg chat1.ChatSearchIndexStatusArg) error {
    67  	return nil
    68  }
    69  
    70  func (r DummyChatUI) ChatSearchConvHits(ctx context.Context, arg chat1.ChatSearchConvHitsArg) error {
    71  	return nil
    72  }
    73  
    74  func (r DummyChatUI) ChatSearchTeamHits(ctx context.Context, arg chat1.ChatSearchTeamHitsArg) error {
    75  	return nil
    76  }
    77  
    78  func (r DummyChatUI) ChatSearchBotHits(ctx context.Context, arg chat1.ChatSearchBotHitsArg) error {
    79  	return nil
    80  }
    81  
    82  func (r DummyChatUI) ChatStellarDataConfirm(ctx context.Context, arg chat1.ChatStellarDataConfirmArg) (bool, error) {
    83  	return true, nil
    84  }
    85  
    86  func (r DummyChatUI) ChatStellarShowConfirm(ctx context.Context, sessionID int) error {
    87  	return nil
    88  }
    89  
    90  func (r DummyChatUI) ChatStellarDataError(ctx context.Context, arg chat1.ChatStellarDataErrorArg) (bool, error) {
    91  	return true, nil
    92  }
    93  
    94  func (r DummyChatUI) ChatStellarDone(ctx context.Context, arg chat1.ChatStellarDoneArg) error {
    95  	return nil
    96  }
    97  
    98  func (r DummyChatUI) ChatGiphySearchResults(ctx context.Context, arg chat1.ChatGiphySearchResultsArg) error {
    99  	return nil
   100  }
   101  
   102  func (r DummyChatUI) ChatGiphyToggleResultWindow(ctx context.Context,
   103  	arg chat1.ChatGiphyToggleResultWindowArg) error {
   104  	return nil
   105  }
   106  
   107  func (r DummyChatUI) ChatShowManageChannels(ctx context.Context, arg chat1.ChatShowManageChannelsArg) error {
   108  	return nil
   109  }
   110  
   111  func (r DummyChatUI) ChatCoinFlipStatus(ctx context.Context, arg chat1.ChatCoinFlipStatusArg) error {
   112  	return nil
   113  }
   114  
   115  func (r DummyChatUI) ChatCommandMarkdown(ctx context.Context, arg chat1.ChatCommandMarkdownArg) error {
   116  	return nil
   117  }
   118  
   119  func (r DummyChatUI) ChatMaybeMentionUpdate(ctx context.Context, arg chat1.ChatMaybeMentionUpdateArg) error {
   120  	return nil
   121  }
   122  
   123  func (r DummyChatUI) ChatLoadGalleryHit(ctx context.Context, arg chat1.ChatLoadGalleryHitArg) error {
   124  	return nil
   125  }
   126  
   127  func (r DummyChatUI) ChatWatchPosition(context.Context, chat1.ChatWatchPositionArg) (chat1.LocationWatchID, error) {
   128  	return chat1.LocationWatchID(0), nil
   129  }
   130  
   131  func (r DummyChatUI) ChatClearWatch(context.Context, chat1.ChatClearWatchArg) error {
   132  	return nil
   133  }
   134  
   135  func (r DummyChatUI) ChatCommandStatus(context.Context, chat1.ChatCommandStatusArg) error {
   136  	return nil
   137  }
   138  
   139  func (r DummyChatUI) ChatBotCommandsUpdateStatus(context.Context, chat1.ChatBotCommandsUpdateStatusArg) error {
   140  	return nil
   141  }
   142  
   143  func (r DummyChatUI) TriggerContactSync(context.Context, int) error {
   144  	return nil
   145  }
   146  
   147  type DummyChatNotifications struct{}
   148  
   149  var _ chat1.NotifyChatInterface = (*DummyChatNotifications)(nil)
   150  
   151  func (d DummyChatNotifications) NewChatActivity(ctx context.Context, arg chat1.NewChatActivityArg) error {
   152  	return nil
   153  }
   154  
   155  func (d DummyChatNotifications) ChatIdentifyUpdate(context.Context, keybase1.CanonicalTLFNameAndIDWithBreaks) error {
   156  	return nil
   157  }
   158  func (d DummyChatNotifications) ChatTLFFinalize(context.Context, chat1.ChatTLFFinalizeArg) error {
   159  	return nil
   160  }
   161  func (d DummyChatNotifications) ChatTLFResolve(context.Context, chat1.ChatTLFResolveArg) error {
   162  	return nil
   163  }
   164  func (d DummyChatNotifications) ChatInboxStale(context.Context, keybase1.UID) error { return nil }
   165  func (d DummyChatNotifications) ChatThreadsStale(context.Context, chat1.ChatThreadsStaleArg) error {
   166  	return nil
   167  }
   168  func (d DummyChatNotifications) ChatTypingUpdate(context.Context, []chat1.ConvTypingUpdate) error {
   169  	return nil
   170  }
   171  func (d DummyChatNotifications) ChatJoinedConversation(context.Context, chat1.ChatJoinedConversationArg) error {
   172  	return nil
   173  }
   174  func (d DummyChatNotifications) ChatLeftConversation(context.Context, chat1.ChatLeftConversationArg) error {
   175  	return nil
   176  }
   177  func (d DummyChatNotifications) ChatResetConversation(context.Context, chat1.ChatResetConversationArg) error {
   178  	return nil
   179  }
   180  func (d DummyChatNotifications) ChatInboxSyncStarted(context.Context, keybase1.UID) error {
   181  	return nil
   182  }
   183  func (d DummyChatNotifications) ChatInboxSynced(context.Context, chat1.ChatInboxSyncedArg) error {
   184  	return nil
   185  }
   186  func (d DummyChatNotifications) ChatSetConvRetention(context.Context, chat1.ChatSetConvRetentionArg) error {
   187  	return nil
   188  }
   189  func (d DummyChatNotifications) ChatSetTeamRetention(context.Context, chat1.ChatSetTeamRetentionArg) error {
   190  	return nil
   191  }
   192  func (d DummyChatNotifications) ChatSetConvSettings(context.Context, chat1.ChatSetConvSettingsArg) error {
   193  	return nil
   194  }
   195  func (d DummyChatNotifications) ChatSubteamRename(context.Context, chat1.ChatSubteamRenameArg) error {
   196  	return nil
   197  }
   198  func (d DummyChatNotifications) ChatKBFSToImpteamUpgrade(context.Context, chat1.ChatKBFSToImpteamUpgradeArg) error {
   199  	return nil
   200  }
   201  func (d DummyChatNotifications) ChatAttachmentUploadStart(context.Context, chat1.ChatAttachmentUploadStartArg) error {
   202  	return nil
   203  }
   204  func (d DummyChatNotifications) ChatAttachmentUploadProgress(context.Context, chat1.ChatAttachmentUploadProgressArg) error {
   205  	return nil
   206  }
   207  func (d DummyChatNotifications) ChatAttachmentDownloadProgress(context.Context, chat1.ChatAttachmentDownloadProgressArg) error {
   208  	return nil
   209  }
   210  func (d DummyChatNotifications) ChatAttachmentDownloadComplete(context.Context, chat1.ChatAttachmentDownloadCompleteArg) error {
   211  	return nil
   212  }
   213  func (d DummyChatNotifications) ChatArchiveProgress(context.Context, chat1.ChatArchiveProgressArg) error {
   214  	return nil
   215  }
   216  func (d DummyChatNotifications) ChatArchiveComplete(context.Context, chat1.ArchiveJobID) error {
   217  	return nil
   218  }
   219  func (d DummyChatNotifications) ChatPaymentInfo(context.Context, chat1.ChatPaymentInfoArg) error {
   220  	return nil
   221  }
   222  func (d DummyChatNotifications) ChatRequestInfo(context.Context, chat1.ChatRequestInfoArg) error {
   223  	return nil
   224  }
   225  func (d DummyChatNotifications) ChatPromptUnfurl(context.Context, chat1.ChatPromptUnfurlArg) error {
   226  	return nil
   227  }
   228  func (d DummyChatNotifications) ChatConvUpdate(context.Context, chat1.ChatConvUpdateArg) error {
   229  	return nil
   230  }
   231  func (d DummyChatNotifications) ChatWelcomeMessageLoaded(context.Context, chat1.ChatWelcomeMessageLoadedArg) error {
   232  	return nil
   233  }
   234  func (d DummyChatNotifications) ChatParticipantsInfo(context.Context,
   235  	map[chat1.ConvIDStr][]chat1.UIParticipant) error {
   236  	return nil
   237  }