GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
Go botgogolanggolang-whatsappgolang-whatsapp-apirestrest-apiwhatsappwhatsapp-apiwhatsapp-api-gowhatsapp-multi-devicewhatsapp-web-multi-device
feat: Add group info from invitation link feature (#343)
Aldino Kemal53f8682bf43f
diff --git a/docs/openapi.yaml b/docs/openapi.yamlindex 418e8146..ebe85ee1 100644--- a/docs/openapi.yaml+++ b/docs/openapi.yaml@@ -1,7 +1,7 @@openapi: "3.0.0"info:title: WhatsApp API MultiDevice- version: 6.8.0+ version: 6.9.0description: This API is used for sending whatsapp via APIservers:- url: http://localhost:3000@@ -158,38 +158,6 @@ paths:application/json:schema:$ref: '#/components/schemas/ErrorInternalServer'- /user/info-group:- get:- operationId: userGroupInfo- tags:- - user- summary: Group Info- parameters:- - name: group_id- in: query- schema:- type: string- example: '[email protected]'- description: WhatsApp Group ID- responses:- '200':- description: OK- content:- application/json:- schema:- $ref: '#/components/schemas/UserGroupInfoResponse'- '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'/user/avatar:get:operationId: userAvatar@@ -1611,6 +1579,38 @@ paths:schema:$ref: '#/components/schemas/ErrorInternalServer'+ /group/info:+ get:+ operationId: groupInfo+ tags:+ - group+ summary: Group Info+ parameters:+ - name: group_id+ in: query+ schema:+ type: string+ example: '[email protected]'+ description: WhatsApp Group ID+ responses:+ '200':+ description: OK+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/GroupInfoResponse'+ '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'/group:post:operationId: createGroup@@ -1811,6 +1811,40 @@ paths:application/json:schema:$ref: '#/components/schemas/ErrorInternalServer'+ /group/info-from-link:+ get:+ operationId: getGroupInfoFromLink+ tags:+ - group+ summary: Get group information from invitation link+ description: Retrieve group information without joining the group using its invitation link+ parameters:+ - name: link+ in: query+ required: true+ schema:+ type: string+ example: 'https://chat.whatsapp.com/whatsappKeyJoinGroup'+ description: WhatsApp group invitation link+ responses:+ '200':+ description: OK+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/GroupInfoFromLinkResponse'+ '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'/group/participant-requests:get:operationId: getGroupParticipantRequests@@ -2234,6 +2268,55 @@ components:group_id:type: stringexample: [email protected]+ GroupInfoFromLinkResponse:+ type: object+ properties:+ code:+ type: string+ example: SUCCESS+ message:+ type: string+ example: Success get group info from link+ results:+ type: object+ properties:+ group_id:+ type: string+ example: '[email protected]'+ description: The group ID+ name:+ type: string+ example: 'Example Group Name'+ description: The group name+ topic:+ type: string+ example: 'Welcome to our group! Please follow the rules.'+ description: The group topic/description+ created_at:+ type: string+ format: date-time+ example: '2024-01-15T10:30:00Z'+ description: When the group was created+ participant_count:+ type: integer+ example: 25+ description: Number of participants in the group+ is_locked:+ type: boolean+ example: false+ description: Whether the group is locked (only admins can modify group info)+ is_announce:+ type: boolean+ example: false+ description: Whether the group is in announce mode (only admins can send messages)+ is_ephemeral:+ type: boolean+ example: false+ description: Whether the group has disappearing messages enabled+ description:+ type: string+ example: 'This group is for discussing project updates'+ description: Additional description of the groupManageParticipantRequest:type: objectproperties:@@ -3142,6 +3225,22 @@ components:pinned:type: booleanexample: true+ GroupInfoResponse:+ type: object+ properties:+ status:+ type: integer+ example: 200+ code:+ type: string+ example: SUCCESS+ message:+ type: string+ example: Success get group info+ results:+ type: object+ description: Group information object (structure may vary)+ additionalProperties: trueUserGroupInfoResponse:type: objectproperties:diff --git a/gallery/group-info-from-link.png b/gallery/group-info-from-link.pngnew file mode 100644index 00000000..0b0c646bBinary files /dev/null and b/gallery/group-info-from-link.png differdiff --git a/readme.md b/readme.mdindex 565c893f..d386d913 100644--- a/readme.md+++ b/readme.md@@ -328,6 +328,8 @@ You can fork or edit this source code !| ✅ | Star Message | POST | /message/:message_id/star || ✅ | Unstar Message | POST | /message/:message_id/unstar || ✅ | Join Group With Link | POST | /group/join-with-link |+| ✅ | Group Info From Link | GET | /group/info-from-link |+| ✅ | Group Info | GET | /group/info || ✅ | Leave Group | POST | /group/leave || ✅ | Create Group | POST | /group || ✅ | Add Participants in Group | POST | /group/participants |@@ -382,6 +384,7 @@ You can fork or edit this source code !| Send Presence |  || Send Link |  || My Group |  |+| Group Info From Link |  || Create Group |  || Join Group with LInk |  || Manage Participant |  |diff --git a/src/domains/group/group.go b/src/domains/group/group.goindex 465ede30..0c752877 100644--- a/src/domains/group/group.go+++ b/src/domains/group/group.go@@ -78,3 +78,27 @@ type SetGroupTopicRequest struct {GroupID string `json:"group_id" form:"group_id"`Topic string `json:"topic" form:"topic"`}++type GetGroupInfoFromLinkRequest struct {+ Link string `json:"link" form:"link"`+}++type GetGroupInfoFromLinkResponse struct {+ GroupID string `json:"group_id"`+ Name string `json:"name"`+ Topic string `json:"topic"`+ CreatedAt time.Time `json:"created_at"`+ ParticipantCount int `json:"participant_count"`+ IsLocked bool `json:"is_locked"`+ IsAnnounce bool `json:"is_announce"`+ IsEphemeral bool `json:"is_ephemeral"`+ Description string `json:"description"`+}++type GroupInfoRequest struct {+ GroupID string `json:"group_id" query:"group_id"`+}++type GroupInfoResponse struct {+ Data interface{} `json:"data"`+}diff --git a/src/domains/group/interfaces.go b/src/domains/group/interfaces.goindex 61804435..eb362332 100644--- a/src/domains/group/interfaces.go+++ b/src/domains/group/interfaces.go@@ -9,6 +9,8 @@ type IGroupManagement interface {JoinGroupWithLink(ctx context.Context, request JoinGroupWithLinkRequest) (groupID string, err error)LeaveGroup(ctx context.Context, request LeaveGroupRequest) (err error)CreateGroup(ctx context.Context, request CreateGroupRequest) (groupID string, err error)+ GetGroupInfoFromLink(ctx context.Context, request GetGroupInfoFromLinkRequest) (response GetGroupInfoFromLinkResponse, err error)+ GroupInfo(ctx context.Context, request GroupInfoRequest) (response GroupInfoResponse, err error)}// IGroupParticipants handles group participant operationsdiff --git a/src/domains/user/account.go b/src/domains/user/account.goindex 81a2576a..6bba4f4e 100644--- a/src/domains/user/account.go+++ b/src/domains/user/account.go@@ -107,11 +107,3 @@ type BusinessProfileResponse struct {BusinessHoursTimeZone string `json:"business_hours_timezone"`BusinessHours []BusinessProfileHoursConfig `json:"business_hours"`}--type GroupInfoRequest struct {- GroupID string `json:"group_id" query:"group_id"`-}--type GroupInfoResponse struct {- Data types.GroupInfo `json:"data"`-}diff --git a/src/domains/user/interfaces.go b/src/domains/user/interfaces.goindex 7981cb6f..915588d3 100644--- a/src/domains/user/interfaces.go+++ b/src/domains/user/interfaces.go@@ -9,7 +9,6 @@ type IUserInfo interface {Info(ctx context.Context, request InfoRequest) (response InfoResponse, err error)IsOnWhatsApp(ctx context.Context, request CheckRequest) (response CheckResponse, err error)BusinessProfile(ctx context.Context, request BusinessProfileRequest) (response BusinessProfileResponse, err error)- GroupInfo(ctx context.Context, request GroupInfoRequest) (response GroupInfoResponse, err error)}// IUserProfile handles user profile operationsdiff --git a/src/ui/rest/group.go b/src/ui/rest/group.goindex ddf5de6f..108ee4e1 100644--- a/src/ui/rest/group.go+++ b/src/ui/rest/group.go@@ -19,6 +19,8 @@ func InitRestGroup(app *fiber.App, service domainGroup.IGroupUsecase) Group {rest := Group{Service: service}app.Post("/group", rest.CreateGroup)app.Post("/group/join-with-link", rest.JoinGroupWithLink)+ app.Get("/group/info-from-link", rest.GetGroupInfoFromLink)+ app.Get("/group/info", rest.GroupInfo)app.Post("/group/leave", rest.LeaveGroup)app.Post("/group/participants", rest.AddParticipants)app.Post("/group/participants/remove", rest.DeleteParticipants)@@ -53,6 +55,22 @@ func (controller *Group) JoinGroupWithLink(c *fiber.Ctx) error {})}+func (controller *Group) GetGroupInfoFromLink(c *fiber.Ctx) error {+ var request domainGroup.GetGroupInfoFromLinkRequest+ err := c.QueryParser(&request)+ utils.PanicIfNeeded(err)++ response, err := controller.Service.GetGroupInfoFromLink(c.UserContext(), request)+ utils.PanicIfNeeded(err)++ return c.JSON(utils.ResponseData{+ Status: 200,+ Code: "SUCCESS",+ Message: "Success get group info from link",+ Results: response,+ })+}+func (controller *Group) LeaveGroup(c *fiber.Ctx) error {var request domainGroup.LeaveGroupRequesterr := c.BodyParser(&request)@@ -302,3 +320,22 @@ func (controller *Group) SetGroupTopic(c *fiber.Ctx) error {Message: message,})}++// GroupInfo handles the /group/info endpoint to fetch group information+func (controller *Group) GroupInfo(c *fiber.Ctx) error {+ var request domainGroup.GroupInfoRequest+ err := c.QueryParser(&request)+ utils.PanicIfNeeded(err)++ utils.SanitizePhone(&request.GroupID)++ response, err := controller.Service.GroupInfo(c.UserContext(), request)+ utils.PanicIfNeeded(err)++ return c.JSON(utils.ResponseData{+ Status: 200,+ Code: "SUCCESS",+ Message: "Success get group info",+ Results: response.Data,+ })+}diff --git a/src/ui/rest/user.go b/src/ui/rest/user.goindex 86713d2c..3d94fcdb 100644--- a/src/ui/rest/user.go+++ b/src/ui/rest/user.go@@ -22,7 +22,6 @@ func InitRestUser(app *fiber.App, service domainUser.IUserUsecase) User {app.Get("/user/my/contacts", rest.UserMyListContacts)app.Get("/user/check", rest.UserCheck)app.Get("/user/business-profile", rest.UserBusinessProfile)- app.Get("/user/info-group", rest.UserGroupInfo)return rest}@@ -177,20 +176,3 @@ func (controller *User) UserBusinessProfile(c *fiber.Ctx) error {Results: response,})}--// UserGroupInfo handles the /user/info-group endpoint to fetch group information-func (controller *User) UserGroupInfo(c *fiber.Ctx) error {- var request domainUser.GroupInfoRequest- err := c.QueryParser(&request)- utils.PanicIfNeeded(err)-- response, err := controller.Service.GroupInfo(c.UserContext(), request)- utils.PanicIfNeeded(err)-- return c.JSON(utils.ResponseData{- Status: 200,- Code: "SUCCESS",- Message: "Success get group info",- Results: response.Data,- })-}diff --git a/src/usecase/group.go b/src/usecase/group.goindex 4f3d453e..da550689 100644--- a/src/usecase/group.go+++ b/src/usecase/group.go@@ -74,6 +74,32 @@ func (service serviceGroup) CreateGroup(ctx context.Context, request domainGroupreturn groupInfo.JID.String(), nil}+func (service serviceGroup) GetGroupInfoFromLink(ctx context.Context, request domainGroup.GetGroupInfoFromLinkRequest) (response domainGroup.GetGroupInfoFromLinkResponse, err error) {+ if err = validations.ValidateGetGroupInfoFromLink(ctx, request); err != nil {+ return response, err+ }+ utils.MustLogin(whatsapp.GetClient())++ groupInfo, err := whatsapp.GetClient().GetGroupInfoFromLink(request.Link)+ if err != nil {+ return response, err+ }++ response = domainGroup.GetGroupInfoFromLinkResponse{+ GroupID: groupInfo.JID.String(),+ Name: groupInfo.Name,+ Topic: groupInfo.Topic,+ CreatedAt: groupInfo.GroupCreated,+ ParticipantCount: len(groupInfo.Participants),+ IsLocked: groupInfo.IsLocked,+ IsAnnounce: groupInfo.IsAnnounce,+ IsEphemeral: groupInfo.IsEphemeral,+ Description: groupInfo.Topic, // Topic serves as description+ }++ return response, nil+}+func (service serviceGroup) ManageParticipant(ctx context.Context, request domainGroup.ParticipantRequest) (result []domainGroup.ParticipantStatus, err error) {if err = validations.ValidateParticipant(ctx, request); err != nil {return result, err@@ -283,3 +309,33 @@ func (service serviceGroup) SetGroupTopic(ctx context.Context, request domainGro// SetGroupTopic with auto-generated IDs (previousID and newID will be handled automatically)return whatsapp.GetClient().SetGroupTopic(groupJID, "", "", request.Topic)}++// GroupInfo retrieves detailed information about a WhatsApp group+func (service serviceGroup) GroupInfo(ctx context.Context, request domainGroup.GroupInfoRequest) (response domainGroup.GroupInfoResponse, err error) {+ // Validate the incoming request+ if err = validations.ValidateGroupInfo(ctx, request); err != nil {+ return response, err+ }++ // Ensure we are logged in+ utils.MustLogin(whatsapp.GetClient())++ // Validate and parse the provided group JID / ID+ groupJID, err := utils.ValidateJidWithLogin(whatsapp.GetClient(), request.GroupID)+ if err != nil {+ return response, err+ }++ // Fetch group information from WhatsApp+ groupInfo, err := whatsapp.GetClient().GetGroupInfo(groupJID)+ if err != nil {+ return response, err+ }++ // Map the response+ if groupInfo != nil {+ response.Data = *groupInfo+ }++ return response, nil+}diff --git a/src/usecase/user.go b/src/usecase/user.goindex cc159887..5b995578 100644--- a/src/usecase/user.go+++ b/src/usecase/user.go@@ -303,33 +303,3 @@ func (service serviceUser) BusinessProfile(ctx context.Context, request domainUsreturn response, nil}--// GroupInfo retrieves detailed information about a WhatsApp group-func (service serviceUser) GroupInfo(ctx context.Context, request domainUser.GroupInfoRequest) (response domainUser.GroupInfoResponse, err error) {- // Validate the incoming request- if err = validations.ValidateGroupInfo(ctx, request); err != nil {- return response, err- }-- // Ensure we are logged in- utils.MustLogin(whatsapp.GetClient())-- // Validate and parse the provided group JID / ID- groupJID, err := utils.ValidateJidWithLogin(whatsapp.GetClient(), request.GroupID)- if err != nil {- return response, err- }-- // Fetch group information from WhatsApp- groupInfo, err := whatsapp.GetClient().GetGroupInfo(groupJID)- if err != nil {- return response, err- }-- // Map the response- if groupInfo != nil {- response.Data = *groupInfo- }-- return response, nil-}diff --git a/src/validations/group_validation.go b/src/validations/group_validation.goindex fba6c00e..ff7e4f8d 100644--- a/src/validations/group_validation.go+++ b/src/validations/group_validation.go@@ -21,6 +21,18 @@ func ValidateJoinGroupWithLink(ctx context.Context, request domainGroup.JoinGroureturn nil}+func ValidateGetGroupInfoFromLink(ctx context.Context, request domainGroup.GetGroupInfoFromLinkRequest) error {+ err := validation.ValidateStructWithContext(ctx, &request,+ validation.Field(&request.Link, validation.Required),+ )++ if err != nil {+ return pkgError.ValidationError(err.Error())+ }++ return nil+}+func ValidateLeaveGroup(ctx context.Context, request domainGroup.LeaveGroupRequest) error {err := validation.ValidateStructWithContext(ctx, &request,validation.Field(&request.GroupID, validation.Required),@@ -180,3 +192,15 @@ func ValidateSetGroupTopic(ctx context.Context, request domainGroup.SetGroupTopireturn nil}++func ValidateGroupInfo(ctx context.Context, request domainGroup.GroupInfoRequest) error {+ err := validation.ValidateStructWithContext(ctx, &request,+ validation.Field(&request.GroupID, validation.Required),+ )++ if err != nil {+ return pkgError.ValidationError(err.Error())+ }++ return nil+}diff --git a/src/validations/user_validation.go b/src/validations/user_validation.goindex 720ff097..ee06ba81 100644--- a/src/validations/user_validation.go+++ b/src/validations/user_validation.go@@ -33,18 +33,6 @@ func ValidateUserAvatar(ctx context.Context, request domainUser.AvatarRequest) ereturn nil}-func ValidateGroupInfo(ctx context.Context, request domainUser.GroupInfoRequest) error {- err := validation.ValidateStructWithContext(ctx, &request,- validation.Field(&request.GroupID, validation.Required),- )-- if err != nil {- return pkgError.ValidationError(err.Error())- }-- return nil-}-func ValidateBusinessProfile(ctx context.Context, request domainUser.BusinessProfileRequest) error {err := validation.ValidateStructWithContext(ctx, &request,validation.Field(&request.Phone, validation.Required),diff --git a/src/views/components/AccountGroupInfo.js b/src/views/components/GroupInfo.jssimilarity index 97%rename from src/views/components/AccountGroupInfo.jsrename to src/views/components/GroupInfo.jsindex 8304a44c..f1a4e282 100644--- a/src/views/components/AccountGroupInfo.js+++ b/src/views/components/GroupInfo.js@@ -1,5 +1,5 @@export default {- name: 'AccountGroupInfo',+ name: 'GroupInfo',components: {},data() {return {@@ -44,7 +44,7 @@ export default {methods: {openModal() {this.reset();- $('#modalAccountGroupInfo').modal('show');+ $('#modalGroupInfo').modal('show');},isValidForm() {return this.group_id.trim() !== '';@@ -61,7 +61,7 @@ export default {async fetchInfo() {this.loading = true;try {- const response = await window.http.get('/user/info-group', {+ const response = await window.http.get('/group/info', {params: { group_id: this.fullGroupID }});this.groupInfo = response.data.results;@@ -95,18 +95,18 @@ export default {}},template: `- <div class="olive card" @click="openModal" style="cursor: pointer;">+ <div class="green card" @click="openModal" style="cursor: pointer;"><div class="content">- <a class="ui olive right ribbon label">Account</a>+ <a class="ui green right ribbon label">Group</a><div class="header">Group Info</div><div class="description">- Search information about a group by ID+ Search detailed information about a group by ID</div></div></div><!-- Modal -->- <div class="ui large modal" id="modalAccountGroupInfo">+ <div class="ui large modal" id="modalGroupInfo"><i class="close icon"></i><div class="header"><i class="users icon"></i>diff --git a/src/views/components/GroupInfoFromLink.js b/src/views/components/GroupInfoFromLink.jsnew file mode 100644index 00000000..4dc15df6--- /dev/null+++ b/src/views/components/GroupInfoFromLink.js@@ -0,0 +1,181 @@+export default {+ name: 'GroupInfoFromLink',+ data() {+ return {+ loading: false,+ link: '',+ groupInfo: null,+ }+ },+ methods: {+ openModal() {+ $('#modalGroupInfoFromLink').modal({+ onApprove: function () {+ return false;+ }+ }).modal('show');+ },+ isValidForm() {+ if (!this.link.trim()) {+ return false;+ }++ // should be a valid WhatsApp invitation URL+ try {+ const url = new URL(this.link);+ if (!url.hostname.includes('chat.whatsapp.com') || !url.pathname.includes('/')) {+ return false;+ }+ } catch (error) {+ return false;+ }++ return true;+ },+ async handleSubmit() {+ if (!this.isValidForm() || this.loading) {+ return;+ }+ try {+ let response = await this.submitApi()+ this.groupInfo = response.results;+ showSuccessInfo('Group information retrieved successfully');+ } catch (err) {+ showErrorInfo(err)+ }+ },+ async submitApi() {+ this.loading = true;+ try {+ let response = await window.http.get(`/group/info-from-link`, {+ params: {+ link: this.link,+ }+ })+ return response.data;+ } catch (error) {+ if (error.response) {+ throw new Error(error.response.data.message);+ }+ throw new Error(error.message);+ } finally {+ this.loading = false;+ }+ },+ handleReset() {+ this.link = '';+ this.groupInfo = null;+ },+ formatDate(dateString) {+ if (!dateString) return 'N/A';+ return moment(dateString).format('YYYY-MM-DD HH:mm');+ },+ closeModal() {+ $('#modalGroupInfoFromLink').modal('hide');+ this.handleReset();+ },+ },+ template: `+ <div class="green card" @click="openModal" style="cursor: pointer">+ <div class="content">+ <a class="ui green right ribbon label">Group</a>+ <div class="header">Group Preview</div>+ <div class="description">+ Get group information from invitation link+ </div>+ </div>+ </div>++ <!-- Modal Group Info From Link -->+ <div class="ui small modal" id="modalGroupInfoFromLink">+ <i class="close icon"></i>+ <div class="header">+ Group Information Preview+ </div>+ <div class="content">+ <form class="ui form">+ <div class="field">+ <label>Invitation Link</label>+ <input v-model="link" type="text"+ placeholder="Invitation link..."+ aria-label="Invitation Link">+ </div>++ <div v-if="groupInfo" class="ui segment">+ <h4 class="ui header">Group Details</h4>+ <div class="ui relaxed divided list">+ <div class="item">+ <div class="content">+ <div class="header">Group Name</div>+ <div class="description">{{ groupInfo.name || 'N/A' }}</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Group ID</div>+ <div class="description">{{ groupInfo.group_id || 'N/A' }}</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Topic</div>+ <div class="description">{{ groupInfo.topic || 'No topic set' }}</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Description</div>+ <div class="description">{{ groupInfo.description || 'No description' }}</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Created At</div>+ <div class="description">{{ formatDate(groupInfo.created_at) }}</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Participants</div>+ <div class="description">{{ groupInfo.participant_count || 0 }} members</div>+ </div>+ </div>+ <div class="item">+ <div class="content">+ <div class="header">Group Settings</div>+ <div class="description">+ <div class="ui mini labels">+ <div class="ui label" :class="groupInfo.is_locked ? 'red' : 'green'">+ <i class="lock icon"></i>+ {{ groupInfo.is_locked ? 'Locked' : 'Unlocked' }}+ </div>+ <div class="ui label" :class="groupInfo.is_announce ? 'orange' : 'blue'">+ <i class="bullhorn icon"></i>+ {{ groupInfo.is_announce ? 'Announce Mode' : 'Regular Mode' }}+ </div>+ <div class="ui label" :class="groupInfo.is_ephemeral ? 'purple' : 'grey'">+ <i class="clock icon"></i>+ {{ groupInfo.is_ephemeral ? 'Disappearing Messages' : 'Regular Messages' }}+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </form>+ </div>+ <div class="actions">+ <button class="ui grey button" @click="closeModal">+ Close+ </button>+ <button class="ui approve positive right labeled icon button"+ :class="{'loading': this.loading, 'disabled': !this.isValidForm() || this.loading}"+ @click.prevent="handleSubmit" type="button">+ Get Info+ <i class="info icon"></i>+ </button>+ </div>+ </div>+ `+}\ No newline at end of filediff --git a/src/views/index.html b/src/views/index.htmlindex 3a8b13f8..a7207757 100644--- a/src/views/index.html+++ b/src/views/index.html@@ -104,12 +104,14 @@<group-list :connected="connected_devices"></group-list><group-create></group-create><group-join-with-link></group-join-with-link>+ <group-info-from-link></group-info-from-link><group-add-participants></group-add-participants><group-set-photo></group-set-photo><group-set-name></group-set-name><group-set-locked></group-set-locked><group-set-announce></group-set-announce><group-set-topic></group-set-topic>+ <group-info></group-info></div><div class="ui horizontal divider">@@ -133,7 +135,6 @@<account-privacy></account-privacy><account-contact></account-contact><account-user-check></account-user-check>- <account-group-info></account-group-info></div><div class="ui horizontal divider">@@ -201,13 +202,14 @@import GroupList from "./components/GroupList.js";import GroupCreate from "./components/GroupCreate.js";import GroupJoinWithLink from "./components/GroupJoinWithLink.js";+ import GroupInfoFromLink from "./components/GroupInfoFromLink.js";import GroupAddParticipants from "./components/GroupManageParticipants.js";import GroupSetPhoto from "./components/GroupSetPhoto.js";import GroupSetName from "./components/GroupSetName.js";import GroupSetLocked from "./components/GroupSetLocked.js";import GroupSetAnnounce from "./components/GroupSetAnnounce.js";import GroupSetTopic from "./components/GroupSetTopic.js";- import AccountGroupInfo from "./components/AccountGroupInfo.js";+ import GroupInfo from "./components/GroupInfo.js";import NewsletterList from "./components/NewsletterList.js";import AccountAvatar from "./components/AccountAvatar.js";import AccountChangeAvatar from "./components/AccountChangeAvatar.js";@@ -254,9 +256,9 @@AppLogin, AppLoginWithCode, AppLogout, AppReconnect,SendMessage, SendImage, SendFile, SendVideo, SendLink, SendContact, SendLocation, SendAudio, SendPoll, SendPresence, SendChatPresence,MessageDelete, MessageUpdate, MessageReact, MessageRevoke, MessageRead,- GroupList, GroupCreate, GroupJoinWithLink, GroupAddParticipants, GroupSetPhoto, GroupSetName, GroupSetLocked, GroupSetAnnounce, GroupSetTopic,+ GroupList, GroupCreate, GroupJoinWithLink, GroupInfoFromLink, GroupAddParticipants, GroupSetPhoto, GroupSetName, GroupSetLocked, GroupSetAnnounce, GroupSetTopic, GroupInfo,NewsletterList,- AccountAvatar, AccountUserInfo, AccountPrivacy, AccountChangeAvatar, AccountContact, AccountChangePushName, AccountUserCheck, AccountBusinessProfile, AccountGroupInfo,+ AccountAvatar, AccountUserInfo, AccountPrivacy, AccountChangeAvatar, AccountContact, AccountChangePushName, AccountUserCheck, AccountBusinessProfile,ChatPinManager},delimiters: ['[[', ']]'],