Qo'shildi: Docker konfiguratsiyasi yangilandi, .env va .gitignore fayllari yaratildi, Redis va muhit o'zgaruvchilari qo'shildi.
This commit is contained in:
20
internal/domain/playmobile.go
Normal file
20
internal/domain/playmobile.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package domain
|
||||
|
||||
type PmbContent struct {
|
||||
Text string `json:"text"`
|
||||
}
|
||||
|
||||
type PmbSMS struct {
|
||||
Originator string `json:"originator"`
|
||||
Content PmbContent `json:"content"`
|
||||
}
|
||||
|
||||
type PmbMessage struct {
|
||||
Recipient string `json:"recipient"`
|
||||
MessageID string `json:"message-id"`
|
||||
Sms PmbSMS `json:"sms"`
|
||||
}
|
||||
|
||||
type PmbPayload struct {
|
||||
Messages []PmbMessage
|
||||
}
|
||||
Reference in New Issue
Block a user