restgolanggowhatsapp-multi-devicewhatsapp-apiwhatsappwhatsapp-web-multi-devicewhatsapp-api-gorest-apigolang-whatsapp-apigolang-whatsappbot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
package group
|
|
|
|
import "context"
|
|
|
|
type IGroupService interface {
|
|
JoinGroupWithLink(ctx context.Context, request JoinGroupWithLinkRequest) (groupID string, err error)
|
|
LeaveGroup(ctx context.Context, request LeaveGroupRequest) (err error)
|
|
}
|
|
|
|
type JoinGroupWithLinkRequest struct {
|
|
Link string `json:"link" form:"link"`
|
|
}
|
|
|
|
type LeaveGroupRequest struct {
|
|
GroupID string `json:"group_id" form:"group_id"`
|
|
}
|