Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

feat(api): add business profile endpoint for WhatsApp Business accounts

Aldino Kemal66d244966589
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 211b261b..f0094830 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1,7 +1,7 @@
openapi: "3.0.0"
info:
title: WhatsApp API MultiDevice
- version: 6.5.0
+ version: 6.6.0
description: This API is used for sending whatsapp via API
servers:
- url: http://localhost:3000
@@ -380,6 +380,40 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorInternalServer'
+ /user/business-profile:
+ get:
+ operationId: userBusinessProfile
+ tags:
+ - user
+ summary: Get Business Profile Information
+ description: Retrieve detailed business profile information for a WhatsApp business account
+ parameters:
+ - name: phone
+ in: query
+ required: true
+ schema:
+ type: string
+ example: '[email protected]'
+ description: Phone number with country code of the business account
+ responses:
+ '200':
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BusinessProfileResponse'
+ '400':
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorBadRequest'
+ '500':
+ description: Internal Server Error
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorInternalServer'
/send/message:
post:
@@ -2504,4 +2538,68 @@ components:
properties:
is_on_whatsapp:
type: boolean
- example: true
\ No newline at end of file
+ example: true
+ BusinessProfileResponse:
+ type: object
+ properties:
+ code:
+ type: string
+ example: SUCCESS
+ message:
+ type: string
+ example: Success get business profile
+ results:
+ type: object
+ properties:
+ jid:
+ type: string
+ example: '[email protected]'
+ description: Business account JID
+ email:
+ type: string
+ example: '[email protected]'
+ description: Business email address
+ address:
+ type: string
+ example: '123 Business Street, City, Country'
+ description: Business physical address
+ categories:
+ type: array
+ description: Business categories
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ example: 'retail'
+ name:
+ type: string
+ example: 'Retail Store'
+ profile_options:
+ type: object
+ description: Additional profile options
+ example:
+ website: 'https://example.com'
+ description: 'Business description'
+ business_hours_timezone:
+ type: string
+ example: 'Asia/Jakarta'
+ description: Business hours timezone
+ business_hours:
+ type: array
+ description: Business operating hours
+ items:
+ type: object
+ properties:
+ day_of_week:
+ type: string
+ example: 'monday'
+ mode:
+ type: string
+ example: 'open'
+ open_time:
+ type: string
+ example: '09:00'
+ close_time:
+ type: string
+ example: '18:00'
\ No newline at end of file
diff --git a/src/domains/user/account.go b/src/domains/user/account.go
index a60090ef..6bba4f4e 100644
--- a/src/domains/user/account.go
+++ b/src/domains/user/account.go
@@ -81,3 +81,29 @@ type CheckRequest struct {
type CheckResponse struct {
IsOnWhatsApp bool `json:"is_on_whatsapp"`
}
+
+type BusinessProfileRequest struct {
+ Phone string `json:"phone" query:"phone"`
+}
+
+type BusinessProfileCategory struct {
+ ID string `json:"id"`
+ Name string `json:"name"`
+}
+
+type BusinessProfileHoursConfig struct {
+ DayOfWeek string `json:"day_of_week"`
+ Mode string `json:"mode"`
+ OpenTime string `json:"open_time"`
+ CloseTime string `json:"close_time"`
+}
+
+type BusinessProfileResponse struct {
+ JID string `json:"jid"`
+ Email string `json:"email"`
+ Address string `json:"address"`
+ Categories []BusinessProfileCategory `json:"categories"`
+ ProfileOptions map[string]string `json:"profile_options"`
+ BusinessHoursTimeZone string `json:"business_hours_timezone"`
+ BusinessHours []BusinessProfileHoursConfig `json:"business_hours"`
+}
diff --git a/src/domains/user/user.go b/src/domains/user/user.go
index fc984eb5..acc4079f 100644
--- a/src/domains/user/user.go
+++ b/src/domains/user/user.go
@@ -14,4 +14,5 @@ type IUserUsecase interface {
MyPrivacySetting(ctx context.Context) (response MyPrivacySettingResponse, err error)
MyListContacts(ctx context.Context) (response MyListContactsResponse, err error)
IsOnWhatsApp(ctx context.Context, request CheckRequest) (response CheckResponse, err error)
+ BusinessProfile(ctx context.Context, request BusinessProfileRequest) (response BusinessProfileResponse, err error)
}
diff --git a/src/go.mod b/src/go.mod
index 938793ed..a56d3aa8 100644
--- a/src/go.mod
+++ b/src/go.mod
@@ -2,6 +2,8 @@ module github.com/aldinokemal/go-whatsapp-web-multidevice
go 1.24.0
+replace go.mau.fi/whatsmeow => github.com/aldinokemal/whatsmeow v0.0.0-20250708124515-f4ddac1a8e75
+
require (
github.com/PuerkitoBio/goquery v1.10.3
github.com/disintegration/imaging v1.6.2
@@ -12,7 +14,7 @@ require (
github.com/gofiber/websocket/v2 v2.2.1
github.com/google/uuid v1.6.0
github.com/lib/pq v1.10.9
- github.com/mark3labs/mcp-go v0.32.0
+ github.com/mark3labs/mcp-go v0.33.0
github.com/mattn/go-sqlite3 v1.14.28
github.com/sirupsen/logrus v1.9.3
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
@@ -21,7 +23,7 @@ require (
github.com/stretchr/testify v1.10.0
github.com/valyala/fasthttp v1.63.0
go.mau.fi/libsignal v0.2.0
- go.mau.fi/whatsmeow v0.0.0-20250707142839-10067399df1f
+ go.mau.fi/whatsmeow v0.0.0-20250708101704-8534cb4f629f
golang.org/x/image v0.28.0
google.golang.org/protobuf v1.36.6
)
diff --git a/src/go.sum b/src/go.sum
index e9007a9c..bd62c46a 100644
--- a/src/go.sum
+++ b/src/go.sum
@@ -4,6 +4,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7Oputl
github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU=
github.com/PuerkitoBio/goquery v1.10.3 h1:pFYcNSqHxBD06Fpj/KsbStFRsgRATgnf3LeXiUkhzPo=
github.com/PuerkitoBio/goquery v1.10.3/go.mod h1:tMUX0zDMHXYlAQk6p35XxQMqMweEKB7iK7iLNd4RH4Y=
+github.com/aldinokemal/whatsmeow v0.0.0-20250708124515-f4ddac1a8e75 h1:2ZWi8KT/DuzZWUJjJU8pBMUIaYEsAS2ptpWLxN2ZX+U=
+github.com/aldinokemal/whatsmeow v0.0.0-20250708124515-f4ddac1a8e75/go.mod h1:bEyyFvXlwr/18B2pOkdX1vWAx1+y1NJX+sCXVyw01UA=
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
github.com/andybalholm/cascadia v1.3.3 h1:AG2YHrzJIm4BZ19iwJ/DAua6Btl3IwJX+VI4kktS1LM=
@@ -58,8 +60,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
-github.com/mark3labs/mcp-go v0.32.0 h1:fgwmbfL2gbd67obg57OfV2Dnrhs1HtSdlY/i5fn7MU8=
-github.com/mark3labs/mcp-go v0.32.0/go.mod h1:rXqOudj/djTORU/ThxYx8fqEVj/5pvTuuebQ2RC7uk4=
+github.com/mark3labs/mcp-go v0.33.0 h1:naxhjnTIs/tyPZmWUZFuG0lDmdA6sUyYGGf3gsHvTCc=
+github.com/mark3labs/mcp-go v0.33.0/go.mod h1:rXqOudj/djTORU/ThxYx8fqEVj/5pvTuuebQ2RC7uk4=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
@@ -128,8 +130,6 @@ go.mau.fi/libsignal v0.2.0 h1:oRXj3OHhEJq51BFEM8/50UZblmWiTYH93hsNTPcbk90=
go.mau.fi/libsignal v0.2.0/go.mod h1:tvjoDsMejgT38CXTXwqaYu8itBiY8O2Mb6biWvZBb9k=
go.mau.fi/util v0.8.8 h1:OnuEEc/sIJFhnq4kFggiImUpcmnmL/xpvQMRu5Fiy5c=
go.mau.fi/util v0.8.8/go.mod h1:Y/kS3loxTEhy8Vill513EtPXr+CRDdae+Xj2BXXMy/c=
-go.mau.fi/whatsmeow v0.0.0-20250707142839-10067399df1f h1:bqR645M6gwQG6iK6PZWrQ4tK4sQsuks7CcQQWVX31i4=
-go.mau.fi/whatsmeow v0.0.0-20250707142839-10067399df1f/go.mod h1:bEyyFvXlwr/18B2pOkdX1vWAx1+y1NJX+sCXVyw01UA=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
diff --git a/src/pkg/utils/general.go b/src/pkg/utils/general.go
index ba93e57a..fea9ce14 100644
--- a/src/pkg/utils/general.go
+++ b/src/pkg/utils/general.go
@@ -438,3 +438,37 @@ func DownloadVideoFromURL(videoURL string) ([]byte, string, error) {
return videoData, fileName, nil
}
+
+// FormatBusinessHourTime converts numeric time format (e.g., 600, 1200) to HH:MM format (e.g., "06:00", "12:00")
+func FormatBusinessHourTime(timeValue interface{}) string {
+ var timeInt int
+
+ switch v := timeValue.(type) {
+ case int:
+ timeInt = v
+ case int32:
+ timeInt = int(v)
+ case int64:
+ timeInt = int(v)
+ case uint:
+ timeInt = int(v)
+ case uint32:
+ timeInt = int(v)
+ case uint64:
+ timeInt = int(v)
+ case string:
+ parsed, err := strconv.Atoi(v)
+ if err != nil {
+ return v // Return as-is if it's already a string and can't be parsed
+ }
+ timeInt = parsed
+ default:
+ return fmt.Sprintf("%v", timeValue) // Return as-is for unknown types
+ }
+
+ // Extract hours and minutes
+ hours := timeInt / 100
+ minutes := timeInt % 100
+
+ return fmt.Sprintf("%02d:%02d", hours, minutes)
+}
diff --git a/src/ui/rest/user.go b/src/ui/rest/user.go
index 4281f17c..98768f3a 100644
--- a/src/ui/rest/user.go
+++ b/src/ui/rest/user.go
@@ -22,6 +22,7 @@ func InitRestUser(app *fiber.App, service domainUser.IUserUsecase) User {
app.Get("/user/my/newsletters", rest.UserMyListNewsletter)
app.Get("/user/my/contacts", rest.UserMyListContacts)
app.Get("/user/check", rest.UserCheck)
+ app.Get("/user/business-profile", rest.UserBusinessProfile)
return rest
}
@@ -158,3 +159,21 @@ func (controller *User) UserCheck(c *fiber.Ctx) error {
Results: response,
})
}
+
+func (controller *User) UserBusinessProfile(c *fiber.Ctx) error {
+ var request domainUser.BusinessProfileRequest
+ err := c.QueryParser(&request)
+ utils.PanicIfNeeded(err)
+
+ whatsapp.SanitizePhone(&request.Phone)
+
+ response, err := controller.Service.BusinessProfile(c.UserContext(), request)
+ utils.PanicIfNeeded(err)
+
+ return c.JSON(utils.ResponseData{
+ Status: 200,
+ Code: "SUCCESS",
+ Message: "Success get business profile",
+ Results: response,
+ })
+}
diff --git a/src/usecase/user.go b/src/usecase/user.go
index 13e890bf..f8d95838 100644
--- a/src/usecase/user.go
+++ b/src/usecase/user.go
@@ -11,6 +11,7 @@ import (
domainUser "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/user"
"github.com/aldinokemal/go-whatsapp-web-multidevice/infrastructure/whatsapp"
pkgError "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/error"
+ "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/utils"
"github.com/aldinokemal/go-whatsapp-web-multidevice/validations"
"github.com/disintegration/imaging"
"go.mau.fi/whatsmeow"
@@ -125,7 +126,7 @@ func (service serviceUser) MyListGroups(_ context.Context) (response domainUser.
if err != nil {
return
}
- fmt.Printf("%+v\n", groups)
+
for _, group := range groups {
response.Data = append(response.Data, *group)
}
@@ -139,7 +140,7 @@ func (service serviceUser) MyListNewsletter(_ context.Context) (response domainU
if err != nil {
return
}
- fmt.Printf("%+v\n", datas)
+
for _, data := range datas {
response.Data = append(response.Data, *data)
}
@@ -252,3 +253,55 @@ func (service serviceUser) IsOnWhatsApp(ctx context.Context, request domainUser.
return response, nil
}
+
+func (service serviceUser) BusinessProfile(ctx context.Context, request domainUser.BusinessProfileRequest) (response domainUser.BusinessProfileResponse, err error) {
+ err = validations.ValidateBusinessProfile(ctx, request)
+ if err != nil {
+ return response, err
+ }
+
+ dataWaRecipient, err := whatsapp.ValidateJidWithLogin(service.WaCli, request.Phone)
+ if err != nil {
+ return response, err
+ }
+
+ profile, err := service.WaCli.GetBusinessProfile(dataWaRecipient)
+ if err != nil {
+ return response, err
+ }
+
+ // Convert profile to response format
+ response.JID = dataWaRecipient.String()
+ response.Email = profile.Email
+ response.Address = profile.Address
+
+ // Convert categories
+ for _, category := range profile.Categories {
+ response.Categories = append(response.Categories, domainUser.BusinessProfileCategory{
+ ID: category.ID,
+ Name: category.Name,
+ })
+ }
+
+ // Convert profile options
+ if profile.ProfileOptions != nil {
+ response.ProfileOptions = make(map[string]string)
+ for key, value := range profile.ProfileOptions {
+ response.ProfileOptions[key] = value
+ }
+ }
+
+ response.BusinessHoursTimeZone = profile.BusinessHoursTimeZone
+
+ // Convert business hours
+ for _, hours := range profile.BusinessHours {
+ response.BusinessHours = append(response.BusinessHours, domainUser.BusinessProfileHoursConfig{
+ DayOfWeek: hours.DayOfWeek,
+ Mode: hours.Mode,
+ OpenTime: utils.FormatBusinessHourTime(hours.OpenTime),
+ CloseTime: utils.FormatBusinessHourTime(hours.CloseTime),
+ })
+ }
+
+ return response, nil
+}
diff --git a/src/validations/user_validation.go b/src/validations/user_validation.go
index 5f6e359d..ee06ba81 100644
--- a/src/validations/user_validation.go
+++ b/src/validations/user_validation.go
@@ -2,6 +2,7 @@ package validations
import (
"context"
+
domainUser "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/user"
pkgError "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/error"
validation "github.com/go-ozzo/ozzo-validation/v4"
@@ -31,3 +32,15 @@ func ValidateUserAvatar(ctx context.Context, request domainUser.AvatarRequest) e
return nil
}
+
+func ValidateBusinessProfile(ctx context.Context, request domainUser.BusinessProfileRequest) error {
+ err := validation.ValidateStructWithContext(ctx, &request,
+ validation.Field(&request.Phone, validation.Required),
+ )
+
+ if err != nil {
+ return pkgError.ValidationError(err.Error())
+ }
+
+ return nil
+}
diff --git a/src/views/components/AccountBusinessProfile.js b/src/views/components/AccountBusinessProfile.js
new file mode 100644
index 00000000..3efe6769
--- /dev/null
+++ b/src/views/components/AccountBusinessProfile.js
@@ -0,0 +1,211 @@
+import FormRecipient from "./generic/FormRecipient.js";
+
+export default {
+ name: 'AccountBusinessProfile',
+ components: {
+ FormRecipient
+ },
+ data() {
+ return {
+ type: window.TYPEUSER,
+ phone: '',
+ //
+ jid: null,
+ email: null,
+ address: null,
+ categories: [],
+ profileOptions: {},
+ businessHoursTimeZone: null,
+ businessHours: [],
+ //
+ loading: false,
+ }
+ },
+
+ computed: {
+ phone_id() {
+ return this.phone + this.type;
+ }
+ },
+ methods: {
+ async openModal() {
+ this.handleReset();
+ $('#modalBusinessProfile').modal('show');
+ },
+ isValidForm() {
+ if (!this.phone.trim()) {
+ return false;
+ }
+
+ return true;
+ },
+ async handleSubmit() {
+ if (!this.isValidForm() || this.loading) {
+ return;
+ }
+
+ try {
+ await this.submitApi();
+ showSuccessInfo("Business profile fetched")
+ } catch (err) {
+ showErrorInfo(err)
+ }
+ },
+ async submitApi() {
+ this.loading = true;
+ try {
+ let response = await window.http.get(`/user/business-profile?phone=${this.phone_id}`)
+ const results = response.data.results;
+ this.jid = results.jid;
+ this.email = results.email;
+ this.address = results.address;
+ this.categories = results.categories || [];
+ this.profileOptions = results.profile_options || {};
+ this.businessHoursTimeZone = results.business_hours_timezone;
+ this.businessHours = results.business_hours || [];
+ } catch (error) {
+ if (error.response) {
+ const message = error.response.data.message;
+ if (message.includes('not be a business account')) {
+ throw new Error('This number is not a WhatsApp Business account or does not have a public business profile.');
+ } else if (message.includes('profile data is corrupted')) {
+ throw new Error('The business profile data appears to be corrupted. Please try again later.');
+ } else {
+ throw new Error(message);
+ }
+ } else {
+ throw new Error('Failed to fetch business profile. Please check the phone number and try again.');
+ }
+ } finally {
+ this.loading = false;
+ }
+ },
+ handleReset() {
+ this.phone = '';
+ this.jid = null;
+ this.email = null;
+ this.address = null;
+ this.categories = [];
+ this.profileOptions = {};
+ this.businessHoursTimeZone = null;
+ this.businessHours = [];
+ this.type = window.TYPEUSER;
+ },
+ formatBusinessHours(hours) {
+ if (!hours || hours.length === 0) return 'Not available';
+ return hours.map(h => `${h.day_of_week}: ${h.open_time} - ${h.close_time} (${h.mode})`).join(', ');
+ }
+ },
+ template: `
+ <div class="blue card" @click="openModal" style="cursor: pointer;">
+ <div class="content">
+ <a class="ui blue right ribbon label">Business</a>
+ <div class="header">Business Profile</div>
+ <div class="description">
+ Get detailed business profile information
+ </div>
+ </div>
+ </div>
+
+
+ <!-- Modal Business Profile -->
+ <div class="ui large modal" id="modalBusinessProfile">
+ <i class="close icon"></i>
+ <div class="header">
+ Business Profile Information
+ </div>
+ <div class="content">
+ <form class="ui form">
+ <div class="ui info message">
+ <div class="header">
+ <i class="info circle icon"></i>
+ Business Profile Information
+ </div>
+ <p>This feature works only with WhatsApp Business accounts that have a public business profile set up.</p>
+ </div>
+
+ <FormRecipient v-model:type="type" v-model:phone="phone"/>
+
+ <button type="button" class="ui primary button" :class="{'loading': loading, 'disabled': !this.isValidForm() || this.loading}"
+ @click.prevent="handleSubmit">
+ Get Business Profile
+ </button>
+ </form>
+
+ <div v-if="jid" class="ui segment" style="margin-top: 20px;">
+ <h4 class="ui header">Business Profile Details</h4>
+ <div class="ui list">
+ <div class="item">
+ <i class="id badge icon"></i>
+ <div class="content">
+ <div class="header">JID</div>
+ <div class="description">{{ jid }}</div>
+ </div>
+ </div>
+ <div class="item" v-if="email">
+ <i class="mail icon"></i>
+ <div class="content">
+ <div class="header">Email</div>
+ <div class="description">{{ email }}</div>
+ </div>
+ </div>
+ <div class="item" v-if="address">
+ <i class="map marker icon"></i>
+ <div class="content">
+ <div class="header">Address</div>
+ <div class="description">{{ address }}</div>
+ </div>
+ </div>
+ <div class="item" v-if="categories.length > 0">
+ <i class="tags icon"></i>
+ <div class="content">
+ <div class="header">Categories</div>
+ <div class="description">
+ <div class="ui small labels">
+ <div v-for="category in categories" :key="category.id" class="ui label">
+ {{ category.name }}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="item" v-if="businessHoursTimeZone">
+ <i class="clock icon"></i>
+ <div class="content">
+ <div class="header">Timezone</div>
+ <div class="description">{{ businessHoursTimeZone }}</div>
+ </div>
+ </div>
+ <div class="item" v-if="businessHours.length > 0">
+ <i class="calendar icon"></i>
+ <div class="content">
+ <div class="header">Business Hours</div>
+ <div class="description">
+ <div class="ui tiny segments">
+ <div v-for="hours in businessHours" :key="hours.day_of_week" class="ui segment">
+ <strong>{{ hours.day_of_week.charAt(0).toUpperCase() + hours.day_of_week.slice(1) }}:</strong>
+ {{ hours.open_time }} - {{ hours.close_time }} ({{ hours.mode }})
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="item" v-if="Object.keys(profileOptions).length > 0">
+ <i class="info circle icon"></i>
+ <div class="content">
+ <div class="header">Profile Options</div>
+ <div class="description">
+ <div class="ui list">
+ <div v-for="(value, key) in profileOptions" :key="key" class="item">
+ <strong>{{ key }}:</strong> {{ value }}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ `
+}
\ No newline at end of file
diff --git a/src/views/index.html b/src/views/index.html
index d4ad0bfe..f600e882 100644
--- a/src/views/index.html
+++ b/src/views/index.html
@@ -128,6 +128,7 @@
<account-change-avatar></account-change-avatar>
<account-change-push-name></account-change-push-name>
<account-user-info></account-user-info>
+ <account-business-profile></account-business-profile>
<account-privacy></account-privacy>
<account-contact></account-contact>
<account-user-check></account-user-check>
@@ -203,6 +204,7 @@
import AccountPrivacy from "./components/AccountPrivacy.js";
import AccountContact from "./components/AccountContact.js";
import AccountUserCheck from "./components/AccountUserCheck.js";
+ import AccountBusinessProfile from "./components/AccountBusinessProfile.js";
const showErrorInfo = (message) => {
$('body').toast({
@@ -241,7 +243,7 @@
MessageDelete, MessageUpdate, MessageReact, MessageRevoke,
GroupList, GroupCreate, GroupJoinWithLink, GroupAddParticipants, GroupSetPhoto, GroupSetName, GroupSetLocked, GroupSetAnnounce, GroupSetTopic,
NewsletterList,
- AccountAvatar, AccountUserInfo, AccountPrivacy, AccountChangeAvatar, AccountContact, AccountChangePushName, AccountUserCheck
+ AccountAvatar, AccountUserInfo, AccountPrivacy, AccountChangeAvatar, AccountContact, AccountChangePushName, AccountUserCheck, AccountBusinessProfile
},
delimiters: ['[[', ']]'],
data() {