Ejemplo n.º 1
0
        private string ConvertUnread(TLMessage message)
        {
            var user = message.Parent as TLUser;

            if (user == null)
            {
                return(string.Empty);
            }

            return(message.IsPhoto() ? $"{user.FirstName} hasn't opened this photo yet" : $"{user.FirstName} hasn't opened this video yet");
        }
Ejemplo n.º 2
0
 private string ConvertTitle(TLMessage message)
 {
     return(message.IsPhoto() ? Strings.Android.DisappearingPhoto : Strings.Android.DisappearingVideo);
 }
Ejemplo n.º 3
0
 private string ConvertTitle(TLMessage message)
 {
     return(message.IsPhoto() ? "Secret Photo" : "Secret Video");
 }