package provider import ( "context" "testing" "github.com/gochat/gochat/internal/model" ) func safeCall_Cov11(fn func()) { defer func() { _ = recover() }(); fn() } func TestTelegramProvider_DownloadFile_Nil_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _, _ = p.DownloadFile(context.Background(), "", "") }) } func TestTelegramProvider_GetContactProfile_Nil_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _, _ = p.GetContactProfile(context.Background(), nil, "") }) } func TestTelegramProvider_DeleteMessage_Nil_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _ = p.DeleteMessage(context.Background(), "", "", 0) }) } func TestTelegramProvider_SetBotCommands_Nil_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _ = p.SetBotCommands(context.Background(), "", nil) }) } func TestTelegramProvider_SendTextWithInlineKeyboard_Full_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _, _ = p.sendTextWithInlineKeyboard(context.Background(), "", "", &model.Message{}) }) } func TestTelegramProvider_SendAttachment_Full_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _, _ = p.sendAttachment(context.Background(), "", "", &model.Message{}) }) } func TestTelegramProvider_ExtractSendResult_Full_Cov11(t *testing.T) { p := &TelegramProvider{} safeCall_Cov11(func() { _, _ = p.extractSendResult(nil, "") }) }