github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/chat/utils/null_chat_ui.go (about)

     1  package utils
     2  
     3  import (
     4  	"github.com/keybase/client/go/libkb"
     5  	"github.com/keybase/client/go/protocol/chat1"
     6  	"github.com/keybase/client/go/protocol/keybase1"
     7  	"golang.org/x/net/context"
     8  )
     9  
    10  type NullChatUI struct{}
    11  
    12  var _ libkb.ChatUI = (*NullChatUI)(nil)
    13  
    14  func (u NullChatUI) ChatInboxUnverified(context.Context, chat1.ChatInboxUnverifiedArg) error {
    15  	return nil
    16  }
    17  func (u NullChatUI) ChatInboxConversation(context.Context, chat1.ChatInboxConversationArg) error {
    18  	return nil
    19  }
    20  func (u NullChatUI) ChatInboxFailed(context.Context, chat1.ChatInboxFailedArg) error  { return nil }
    21  func (u NullChatUI) ChatInboxLayout(context.Context, string) error                    { return nil }
    22  func (u NullChatUI) ChatThreadCached(context.Context, *string) error                  { return nil }
    23  func (u NullChatUI) ChatThreadFull(context.Context, string) error                     { return nil }
    24  func (u NullChatUI) ChatThreadStatus(context.Context, chat1.UIChatThreadStatus) error { return nil }
    25  func (u NullChatUI) ChatConfirmChannelDelete(context.Context, chat1.ChatConfirmChannelDeleteArg) (bool, error) {
    26  	return false, nil
    27  }
    28  func (u NullChatUI) ChatSearchHit(context.Context, chat1.ChatSearchHitArg) error   { return nil }
    29  func (u NullChatUI) ChatSearchDone(context.Context, chat1.ChatSearchDoneArg) error { return nil }
    30  func (u NullChatUI) ChatSearchInboxHit(context.Context, chat1.ChatSearchInboxHitArg) error {
    31  	return nil
    32  }
    33  func (u NullChatUI) ChatSearchInboxStart(context.Context) error { return nil }
    34  func (u NullChatUI) ChatSearchInboxDone(context.Context, chat1.ChatSearchInboxDoneArg) error {
    35  	return nil
    36  }
    37  func (u NullChatUI) ChatSearchIndexStatus(context.Context, chat1.ChatSearchIndexStatusArg) error {
    38  	return nil
    39  }
    40  func (u NullChatUI) ChatSearchConvHits(context.Context, chat1.UIChatSearchConvHits) error { return nil }
    41  func (u NullChatUI) ChatSearchTeamHits(context.Context, chat1.UIChatSearchTeamHits) error { return nil }
    42  func (u NullChatUI) ChatSearchBotHits(context.Context, chat1.UIChatSearchBotHits) error   { return nil }
    43  func (u NullChatUI) ChatStellarShowConfirm(context.Context) error                         { return nil }
    44  func (u NullChatUI) ChatStellarDataConfirm(context.Context, chat1.UIChatPaymentSummary) (bool, error) {
    45  	return false, nil
    46  }
    47  func (u NullChatUI) ChatStellarDataError(context.Context, keybase1.Status) (bool, error) {
    48  	return false, nil
    49  }
    50  func (u NullChatUI) ChatStellarDone(context.Context, bool) error { return nil }
    51  func (u NullChatUI) ChatGiphySearchResults(ctx context.Context, convID chat1.ConversationID,
    52  	results chat1.GiphySearchResults) error {
    53  	return nil
    54  }
    55  func (u NullChatUI) ChatGiphyToggleResultWindow(ctx context.Context, convID chat1.ConversationID, show, clearInput bool) error {
    56  	return nil
    57  }
    58  func (u NullChatUI) ChatShowManageChannels(context.Context, string) error               { return nil }
    59  func (u NullChatUI) ChatCoinFlipStatus(context.Context, []chat1.UICoinFlipStatus) error { return nil }
    60  func (u NullChatUI) ChatCommandMarkdown(context.Context, chat1.ConversationID, *chat1.UICommandMarkdown) error {
    61  	return nil
    62  }
    63  func (u NullChatUI) ChatMaybeMentionUpdate(context.Context, string, string, chat1.UIMaybeMentionInfo) error {
    64  	return nil
    65  }
    66  func (u NullChatUI) ChatLoadGalleryHit(context.Context, chat1.UIMessage) error { return nil }
    67  func (u NullChatUI) ChatWatchPosition(context.Context, chat1.ConversationID, chat1.UIWatchPositionPerm) (chat1.LocationWatchID, error) {
    68  	return 0, nil
    69  }
    70  func (u NullChatUI) ChatClearWatch(context.Context, chat1.LocationWatchID) error { return nil }
    71  func (u NullChatUI) ChatCommandStatus(context.Context, chat1.ConversationID, string, chat1.UICommandStatusDisplayTyp,
    72  	[]chat1.UICommandStatusActionTyp) error {
    73  	return nil
    74  }
    75  func (u NullChatUI) ChatBotCommandsUpdateStatus(context.Context, chat1.ConversationID, chat1.UIBotCommandsUpdateStatus) error {
    76  	return nil
    77  }
    78  func (u NullChatUI) TriggerContactSync(context.Context) error { return nil }