func (m Message) GetLink() string {
	if m.Chat.Type == "private" || m.Chat.Type == "group" {
		return ""
	}
	if m.Chat.Username != "" {
		return fmt.Sprintf("https://t.me/%s/%d", m.Chat.Username, m.MessageId)
	}
	rawChatId := strings.TrimPrefix(strconv.FormatInt(m.Chat.Id, 10), "-100")
	return fmt.Sprintf("https://t.me/c/%s/%d", rawChatId, m.MessageId)
}
GetLink is a helper method to easily get the message link (It will return an empty string in case of private or group chat type).
package gotgbot
import (
	"fmt"
	"strconv"
	"strings"
)