Compare commits
2 commits
7f074c16b5
...
ec56188332
Author | SHA1 | Date | |
---|---|---|---|
Alexey Skobkin | ec56188332 | ||
71dad1bda8 |
|
@ -28,10 +28,10 @@ func (c RequestContext) Prompt() string {
|
||||||
prompt += "Chat description is \"" + c.Chat.Description + "\". "
|
prompt += "Chat description is \"" + c.Chat.Description + "\". "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prompt += "According to their profile, first name of the user who wrote you is \"" + c.User.FirstName + "\". "
|
||||||
if c.User.Username != "" {
|
if c.User.Username != "" {
|
||||||
prompt += "The user who wrote you has username \"@" + c.User.Username + "\". "
|
prompt += "Their username is @" + c.User.Username + ". "
|
||||||
}
|
}
|
||||||
prompt += "Their first name is \"" + c.User.FirstName + "\". "
|
|
||||||
if c.User.LastName != "" {
|
if c.User.LastName != "" {
|
||||||
prompt += "Their last name is \"" + c.User.LastName + "\". "
|
prompt += "Their last name is \"" + c.User.LastName + "\". "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue